Ayesha reported,

With what did the Prophet ﷺ open his prayer when he rose at night?She replied, "When he rose at night, he would open his prayer by saying, 'O Allah, Lord of Jibreel, Mikail, and Israfeel, Originator of the heavens and the earth, Knower of the unseen and the seen, You judge between Your servants concerning that in which they used to differ. Guide me, by Your leave, to the truth in matters of dispute. Indeed, You guide whom You will to a straight path.'"

Tirmidhi 3420

Sahih

حدثنا يحيى بن موسى وغير واحد قالوا أخبرنا عمر بن يونس حدثنا عكرمة بن عمار حدثنا يحيى بن أبي كثير قال حدثني أبو سلمة قال سألت

عائشة رضي الله عنها

بأي شيء كان النبي ﷺ يفتتح صلاته إذا قام من الليل قالت كان إذا قام من الليل افتتح صلاته فقال اللهم رب جبريل وميكائيل وإسرافيل فاطر السموات والأرض عالم الغيب والشهادة أنت تحكم بين عبادك فيما كانوا فيه يختلفون اهدني لما اختلف فيه من الحق بإذنك إنك تهدي من تشاء إلى صراط مستقيم

الترمذي 3420صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Supplications
Chapter
Supplication at the opening of night prayer
Numbering
Darussalam 3420
Tirmidhi 3420