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ā Bā’ithu ṣalli ‘alā ‘abdika wa ḥabībika sayyidinā Muḥammad an-Nabī al-mab’ūthi minka birraḥmati wa ‘alā ālihi wa ṣaḥbihi wa sallim taslīman w’aj’alnī lahu yawma’il-ba’thi rafīqā.
O Allah, O Dispatcher, bestow abundant prayers and peace upon Your slave and beloved, our Master Muḥammad, the Prophet who was dispatched by You with mercy and upon his Family and Companions, and make me his companion on the Day of Resurrection.