Ali bin Abu Talib reported,

When the Messenger of Allah ﷺ stood for prayer, he would say, "I have turned my face toward the One who created the heavens and the earth, devoted to Him alone, and I am not among those who associate partners with Allah. Indeed, my prayer, my rites, my life, and my death belong to Allah, the Lord of all the worlds. He has no partner. With this I have been commanded, and I am among those who submit. O Allah, You are the King, there is no god but You. You are my Lord and I am Your servant. I have wronged myself and I acknowledge my sin, so forgive me all my sins, for none forgives sins except You. Guide me to the best of character, for none guides to its best except You, and turn away from me the worst of it, for none can turn its worst away from me except You. Here I am at Your service, eager to please You. All good is in Your hands and evil is not attributed to You. I exist through You and return to You. Blessed and exalted are You. I seek Your forgiveness and turn to You in repentance."When he bowed, he would say, "O Allah, to You I have bowed, in You I have believed, and to You I have submitted. My hearing, my sight, my bones, and my sinews are humbled before You."When he raised his head, he would say, "O Allah, our Lord, to You belongs all praise, filling the heavens, filling the earth, filling whatever lies between them, and filling whatever else You will."When he prostrated, he would say, "O Allah, to You I have prostrated, in You I have believed, and to You I have submitted. My face has prostrated to the One who created it and shaped it, and brought forth its hearing and sight. Blessed is Allah, the best of creators."Then, as the last thing he would say between the tashahhud and the salam, he would say, "O Allah, forgive me what I have done before and what I will do later, what I have concealed and what I have made public, what I have done in excess, and what You know better than I. You are the One who brings forward and You are the One who delays. There is no god but You."

Tirmidhi 3422

Sahih

حدثنا الحسن بن علي الخلال حدثنا أبو الوليد حدثنا عبد العزيز بن أبي سلمة ويوسف بن الماجشون قال عبد العزيز حدثني عمي وقال يوسف أخبرني أبي حدثني الأعرج عن عبيد الله بن أبي رافع

عن علي بن أبي طالب

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

الترمذي 3422صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Supplications
Chapter
From it in the supplication "I have turned my face to the One Who created the heavens and the earth"
Numbering
Darussalam 3422
Tirmidhi 3422