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ā Ḥamīdu ṣalli ‘alā ‘abdika wa ḥabībika sayyidinā Muḥammad an-Nabī al-ḥamīd wa ‘alā ālihi wa ṣaḥbihi wa sallim taslīman wa’rfa’nī bihi ilā marātibi’l-ḥammādīn laka al-mutaḥiqqiqīna bi ḥamdika wa’j’al lī bihi ‘ayshan ḥamīdan wa’j’alnī fi’ddārayni ‘abdan maḥmūdā
O Allah, O Praiseworthy, bestow abundant prayers and peace upon Your slave and beloved, our Master Muhammad, the praiseworthy Prophet, and upon his Family and Companions, and by him raise me to the stations of those who praise You constantly, those who have truly realised the meaning of praising You. By him allow me to live a praiseworthy life and make me a praiseworthy slave in both abodes.