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 ﷺ.
اللَّهُمَّ يا اللهُ يا رَشِيدُ صَلِّ على عَبْدِكَ و حَبِيبِكَ سَيِّدِنا مُحَمَّدٍ النَّبِيِّ الرَّشِيدِ و على آلِهِ و صَحْبِهِ و سَلِّمْ تَسْلِيماً، و أَلْهِمْني بِهِ رُشْدِي وارْزُقْني نَشْرَ الرُّشْدِ في الخَلْقِ خُصوصاً و عُموماً و هَيِّئْ لي بِهِ مِنْ أَمْري رَشَداً
O Allah, the Guide to what is right, bestow abundant prayers and peace upon Your slave and beloved, our Master Muhammad, the Prophet, the rightly guided one and upon his Family and Companions. By him inspire me to do what is right and allow me to spread guidance to all people – both the elite and ordinary people – and by him arrange my affairs in the right way.