This prayer is taken from Sayyidi Habib Umar bin Hafiz’s collection of prayers using Allah’s beautiful names in which he calls upon Allah by His beautiful names and then asks Him to bestow prayers upon His Beloved by those names. Finally, he asks Allah for a portion of those attributes which belong to Allah and which He has bestowed upon His Messenger ﷺ.
اللَّهُمَّ يا اللهُ يا خَالِق صَلِّ على عَبْدِكَ و حَبِيبِكَ سَيِّدِنا مُحَمَّدٍ النَّبِيِّ أَكْرَمِ خَلْقِكَ و أَسْعَدِ مَخْلوقَاتِكَ و على آلِهِ و صَحْبِهِ و سَلِّمْ تَسْلِيماً و حَسِّنْ بِهِ خَلْقِي و خُلُقي فَضْلاً و إِحْسَاناً
Allāhumma yā Allāhu yā Khāliq ṣalli ‘alā ‘abdika wa ḥabībika sayyidinā Muḥammad akrami khalqik wa as’adi makhlūqātik wa ‘alā ālihi wa ṣaḥbihi wa sallim tasliman wa hassin bihi khalqī wa khuluqī faḍlan wa iḥsāna
O Allah, O Creator, bestow abundant prayers and peace upon Your slave and beloved, our Master Muhammad, the Prophet, the noblest and felicitous of Your creatures and upon his Family and Companions and by him beautify my outer form and my character out of Your bounty and kindness.