Musnad Ahmad 729
It was narrated from `Ali bin Abi Talib that when the Messenger of Allah (ﷺ) got up to pray, he would say takbeer, and start the prayer by saying:
`I have turned my face in submission to the One who originated the heavens and the earth, as a monotheist and a Muslim, and I am not one of the mushrikeen. Verily, my Salah (prayer), my sacrifice, my living, and my dying are for Allah, the Lord of the ‘Alameen (mankind, jinn and all that exists). He has no partner, And of this I have been commanded, and I am one of the Muslims [Abun-Nadr said: and I am the first of the Muslims]. O Allah, there is no god but You. You are my Lord and I am Your slave. I have wronged myself and I admit my sin, so forgive me all my sins, for no one can forgive sins except You. Guide me to the best of conduct, for none can guide to that except You and divert from me bad conduct, for no one can divert it from me except You. Blessed and exalted are You, I seek Your forgiveness and I repent to You.” When he bowed, he said: `O Allah, to You I have bowed, in You I have believed and to You I have submitted. My hearing my sight, my brain, my bones and my sinews submit to You.` When he rose from bowing he said: `Allah hears those who praise Him. Our Lord, to You be praise, filling the heavens, the earth and that which is between them and filling whatever else You will besides.” When he prostrated he said: “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, shaped it and gave it a good shape, and opened its hearing and sight. Blessed be Allah, the Best of creators.` Then he after said the salam at the end of the prayer: `O Allah, forgive me my past and future sins, what I have done in secret and what I have done openly, what I have transgressed and what You know more than I. You are the One Who brings forward and the One Who puts back, there is no god but You.`
حَدَّثَنَا أَبُو سَعِيدٍ، حَدَّثَنَا عَبْدُ الْعَزِيزِ بْنُ عَبْدِ اللَّهِ الْمَاجِشُونُ، حَدَّثَنَا عَبْدُ اللَّهِ بْنُ الْفَضْلِ، وَالْمَاجِشُونُ، عَنْ الْأَعْرَجِ، عَنْ عُبَيْدِ اللَّهِ بْنِ رَافِعٍ، عَنِ عَلِيِّ بْنِ أَبِي طَالِبٍ، رَضِيَ اللَّهُ عَنْهُ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ كَانَ إِذَا كَبَّرَ اسْتَفْتَحَ ثُمَّ قَالَ وَجَّهْتُ وَجْهِي لِلَّذِي فَطَرَ السَّمَوَاتِ وَالْأَرْضَ حَنِيفًا مُسْلِمًا وَمَا أَنَا مِنْ الْمُشْرِكِينَ إِنَّ صَلَاتِي وَنُسُكِي وَمَحْيَايَ وَمَمَاتِي لِلَّهِ رَبِّ الْعَالَمِينَ لَا شَرِيكَ لَهُ وَبِذَلِكَ أُمِرْتُ وَأَنَا مِنْ الْمُسْلِمِينَ قَالَ أَبُو النَّضْرِ وَأَنَا أَوَّلُ الْمُسْلِمِينَ اللَّهُمَّ لَا إِلَهَ إِلَّا أَنْتَ أَنْتَ رَبِّي وَأَنَا عَبْدُكَ ظَلَمْتُ نَفْسِي وَاعْتَرَفْتُ بِذَنْبِي فَاغْفِرْ لِي ذُنُوبِي جَمِيعًا لَا يَغْفِرُ الذُّنُوبَ إِلَّا أَنْتَ وَاهْدِنِي لِأَحْسَنِ الْأَخْلَاقِ لَا يَهْدِي لِأَحْسَنِهَا إِلَّا أَنْتَ وَاصْرِفْ عَنِّي سَيِّئَهَا لَا يَصْرِفُ عَنِّي سَيِّئَهَا إِلَّا أَنْتَ تَبَارَكْتَ وَتَعَالَيْتَ أَسْتَغْفِرُكَ وَأَتُوبُ إِلَيْكَ وَكَانَ إِذَا رَكَعَ قَالَ اللَّهُمَّ لَكَ رَكَعْتُ وَبِكَ آمَنْتُ وَلَكَ أَسْلَمْتُ خَشَعَ لَكَ سَمْعِي وَبَصَرِي وَمُخِّي وَعِظَامِي وَعَصَبِي وَإِذَا رَفَعَ رَأْسَهُ مِنْ الرَّكْعَةِ قَالَ سَمِعَ اللَّهُ لِمَنْ حَمِدَهُ رَبَّنَا وَلَكَ الْحَمْدُ مِلْءَ السَّمَوَاتِ وَالْأَرْضِ وَمَا بَيْنَهُمَا وَمِلْءَ مَا شِئْتَ مِنْ شَيْءٍ بَعْدُ وَإِذَا سَجَدَ قَالَ اللَّهُمَّ لَكَ سَجَدْتُ وَبِكَ آمَنْتُ وَلَكَ أَسْلَمْتُ سَجَدَ وَجْهِي لِلَّذِي خَلَقَهُ فَصَوَّرَهُ فَأَحْسَنَ صُوَرَهُ فَشَقَّ سَمْعَهُ وَبَصَرَهُ فَتَبَارَكَ اللَّهُ أَحْسَنُ الْخَالِقِينَ فَإِذَا سَلَّمَ مِنْ الصَّلَاةِ قَالَ اللَّهُمَّ اغْفِرْ لِي مَا قَدَّمْتُ وَمَا أَخَّرْتُ وَمَا أَسْرَرْتُ وَمَا أَعْلَنْتُ وَمَا أَسْرَفْتُ وَمَا أَنْتَ أَعْلَمُ بِهِ مِنِّي أَنْتَ الْمُقَدِّمُ وَأَنْتَ الْمُؤَخِّرُ لَا إِلَهَ إِلَّا أَنْتَ‏.‏