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ā ‘Alīmu ṣalli ‘alā ‘abdika wa ḥabībika sayyidinā Muḥammad an-nabī al-‘Alīmi wa ‘alā ālihi wa ṣaḥbihi wa sallim taslīman wa ‘allimnī bihi milladunka ‘ilmā
O Allah, the All-Knowing, bestow abundant prayers and peace upon Your slave and beloved, our Master Muhammad, the Prophet, the most knowledgeable of all people and upon his Family and Companions, and by him bless me with knowledge directly from Your presence.