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ā Ḥakamu ṣalli ‘alā ‘abdika wa ḥabībika sayyidinā Muḥammad an-Nabī al-ḥākim b’ilḥaqqī w’al-‘adli w’al-hudā wa ‘alā ālihi wa ṣaḥbihi wa sallim taslīman w’arzuqnī bihi’l-istislāma liḥukmika w’al-‘amala ‘alā aḥkāmi shar’ika w’aḥkum lī b’ilfawzi yawma’lliqā’i yā aḥkam al’ḥākimīn
O Allāh, O Arbitrator, bestow abundant prayers and peace upon Your slave and beloved, our Master Muḥammad, the Prophet who ruled according to truth, justice and guidance and upon his Family and Companions, and by him bless me with complete surrender to Your judgement and the ability to act according to the rulings of Your Sacred Law and decree success for me on the Day of Meeting, O Most Just of Judges!