Ali bin Abu Talib reported,

It is reported that the Messenger of Allah ﷺ, when he stood for prayer, would say, "I have turned my face toward the One who created the heavens and the earth, devoted purely to Him, and I am not among those who associate partners with Allah. Indeed, my prayer, my rites of worship, my living, and my dying are for Allah, 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 Sovereign. 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 but You. Guide me to the best of character, for none guides to the best of it but You, and turn me away from its evil, for none turns its evil away from me but You. Here I am at Your service, ready to obey. 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 I 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 mind, my bones, and my sinews are humbled before You."When he rose from bowing, he would say, "O Allah, our Lord, to You belongs all praise, filling the heavens, filling the earth, filling whatever is 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 who formed within it its hearing and sight. Blessed is Allah, the best of creators."Then among the last things he would say between the tashahhud and the salutation was, "O Allah, forgive me what I have done before and what I will do, 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 the One who puts back. There is no god but You."

Muslim 1812

Sahih

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

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

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

مسلم 1812صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Travelers' prayer and its shortening
Chapter
Supplication in the night prayer and its standing
Numbering
Darussalam 1812
Muslim 1812