Bulugh al-Maram 268
وَعَنْ عَلِيِّ بْنِ أَبِي طَالِبٍ - رضي الله عنه - عَنْ رَسُولِ اللَّهِ - صلى الله عليه وسلم: أَنَّهُ كَانَ إِذَا قَامَ إِلَى الصَّلَاةِ قَالَ: «وَجَّهْتُ وَجْهِي لِلَّذِي فَطَّرَ السَّمَوَاتِ» ... إِلَى قَوْلِهِ: «مِنْ الْمُسْلِمِينَ, اللَّهُمَّ أَنْتَ الْمَلِكُ لَا إِلَهَ إِلَّا أَنْتَ, أَنْتَ رَبِّي وَأَنَا عَبْدُكَ ... » إِلَى آخِرِهِ. رَوَاهُ مُسْلِمٌ. ⦗٧٩⦘ وَفِي رِوَايَةٍ لَهُ: أَنَّ ذَلِكَ فِي صَلَاةِ اللَّيْلِ.
ʿAli ibn Abi Talib, may Allah be pleased with him, reported from the Messenger of Allah ﷺ that when he stood for the prayer, he would say: "I have turned my face towards the One who created the heavens"... up to his words: "...of the Muslims. O Allah, You are the King, there is no god but You. You are my Lord and I am Your slave..." to the end. Reported by Muslim. And in a narration of his: that this was in the night prayer.