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.'"
حدثنا يحيى بن موسى وغير واحد قالوا أخبرنا عمر بن يونس حدثنا عكرمة بن عمار حدثنا يحيى بن أبي كثير قال حدثني أبو سلمة قال سألت
بأي شيء كان النبي ﷺ يفتتح صلاته إذا قام من الليل قالت كان إذا قام من الليل افتتح صلاته فقال اللهم رب جبريل وميكائيل وإسرافيل فاطر السموات والأرض عالم الغيب والشهادة أنت تحكم بين عبادك فيما كانوا فيه يختلفون اهدني لما اختلف فيه من الحق بإذنك إنك تهدي من تشاء إلى صراط مستقيم
Muslim also narrated it in the Book of the Prayer of the Traveler, Chapter on the Prayer of the Prophet ﷺ and his supplication at night, Hadith no. 770, from the hadith of Umar bin Yunus, through the same chain.