"With what would the Prophet ﷺ open his prayer?"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 wherein they used to differ. Guide me to the truth in what is disputed, by Your permission. Indeed, You guide whom You will to a straight path.'"
أخبرنا العباس بن عبد العظيم قال أنبأنا عمر بن يونس قال حدثنا عكرمة بن عمار قال حدثني يحيى بن أبي كثير قال حدثني أبو سلمة بن عبد الرحمن قال
بأي شيء كان النبي ﷺ يفتتح صلاته قالت كان إذا قام من الليل افتتح صلاته قال اللهم رب جبريل وميكائيل وإسرافيل فاطر السموات والأرض عالم الغيب والشهادة أنت تحكم بين عبادك فيما كانوا فيه يختلفون اللهم اهدني لما اختلف فيه من الحق إنك تهدي من تشاء إلى صراط مستقيم
Muslim narrated it in the Book of the Prayer of Travelers, Chapter on the Prayer and Supplication of the Prophet at Night, hadith no. 770, from the hadith of Umar bin Yunus, with this wording. It is also found in Sunan al-Kubra, hadith no. 1322.