Ali b. Abu Talib reported that when the Messenger of Allah (ﷺ) got up at night for prayer he would say:
I turn my face in complete devotion to One Who is the Originator of the heaven and the earth and I am not of the polytheists. Verily my prayer, my sacrifice, my living and my dying are for Allah, the Lord of the worlds; There is no partner with Him and this is what I have been commanded (to profess and believe) and I am of the believers. O Allah, You are the King, there is no god but You, You are my Lord, and I am Your bondman. I wronged myself and make a confession of my Sin. Forgive all my sins, for no one forgives the sins but You, and guide me in the best of conduct for none but You guides anyone (in) good conduct. Remove sins from me, for none else but You can remove sins from me. Here I am at Your service, and Grace is to You and the whole of good is in Your hand, and one cannot get nearneststo You through evil. My (power as well as existence) is due to You (Your grace) and I turn to You (for supplication). You are blessed and You are exalted. I seek forgiveness from You and turn to You in repentance: and when he would bow, he would say: O Allah, it is for You that I bowed. I affirm my faith in You and I submit to You, and submit humbly before You my hearing, my eyesight, my marrow, my bone, my sinew; and when he would raise his head, he would say: O Allah, our Lord, praise is due to You, (the praise) with which is filled the heavens and the earth, and with which is filled that (space) which exists between them, and filled with anything that You desireth afterward. And when he prostrated himself, he (the Holy Prophet) would say: O Allah, it is to You that I prostrate myself and it is in You that I affirm my faith, and I submit to You. My face is submitted before One Who created it, and shaped it, and opened his faculties of hearing and seeing. Blessed is Allah, the best of Creators; and he would then say between Tashahhud and the pronouncing of salutation: Forgive me of the earlier and later open and secret (sins) and that where I made transgression and that You knowest better than I. You are the First and the Last. There is no god, but You.