وَمِنْ مُسْنَدِ عَلِيِّ بْنِ أَبِي طَالِبٍ رَضِيَ اللَّهُ عَنْهُ
5  
Musnad 'Ali Ibn Abi Talib
Musnad Ahmad 803, 804, 805
It was narrated from `Ali bin Abi Talib that When the Messenger of Allah (ﷺ) started to pray, he would say takbeer, then say:
“I have turned my face in submission to the One Who originated the heavens and the earth, as a monotheist 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 the first of the Muslims, O Allah, You are the Sovereign, 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. O Allah, guide me to the best of conduct, for none can guide to that except You; divert from me the worst of conduct, for none can divert it except You. Here I am at Your service, all goodness is in Your hand and evil cannot be attributed to You. My existence is due to You and my return is to 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 the one who praises Him. O Allah our Lord, to You be praise, filling the heavens, filling the earth, filling 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 and gave it shape and gave it the best of shapes, and opened its hearing and sight, Blessed be Allah, the Best of creators.` When he had finished praying he said: `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.` `Abdullah said: We heard from Ishaq bin Rahawaih, from an-Nadr bin Shumail, that he said concerning this hadeeth, instead of, `evil cannot be attributed to You,” he said: Evil cannot be used to draw close to You. It was narrated from `Ali bin Abi Talib (رضي الله عنه), from the Messenger of Allah (ﷺ), that When he began to pray, he said takbeer, then he said, `I have turned my face.` - and he narrated a similar report, except that he said `and divert from me the worst of conduct.” A similar report was narrated from Al-A`raj, from `Ubaidullah bin Abi Rafi`, from `Ali bin Abi Talib (رضي الله عنه), from the Prophet (ﷺ).
حَدَّثَنَا هَاشِمُ بْنُ الْقَاسِمِ، حَدَّثَنَا عَبْدُ الْعَزِيزِ يَعْنِي ابْنَ عَبْدِ اللَّهِ بْنِ أَبِي سَلَمَةَ، عَنْ عَمِّهِ الْمَاجِشُونِ بْنِ أَبِي سَلَمَةَ، عَنِ الْأَعْرَجِ، عَنْ عُبَيْدِ اللَّهِ بْنِ أَبِي رَافِعٍ، عَنْ عَلِيِّ بْنِ أَبِي طَالِبٍ، رَضِيَ اللَّهُ عَنْهُ أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ كَانَ إِذَا اسْتَفْتَحَ الصَّلَاةَ يُكَبِّرُ ثُمَّ يَقُولُ وَجَّهْتُ وَجْهِي لِلَّذِي فَطَرَ السَّمَوَاتِ وَالْأَرْضَ حَنِيفًا وَمَا أَنَا مِنْ الْمُشْرِكِينَ إِنَّ صَلَاتِي وَنُسُكِي وَمَحْيَايَ وَمَمَاتِي لِلَّهِ رَبِّ الْعَالَمِينَ لَا شَرِيكَ لَهُ وَبِذَلِكَ أُمِرْتُ وَأَنَا أَوَّلُ الْمُسْلِمِينَ اللَّهُمَّ أَنْتَ الْمَلِكُ لَا إِلَهَ إِلَّا أَنْتَ أَنْتَ رَبِّي وَأَنَا عَبْدُكَ ظَلَمْتُ نَفْسِي وَاعْتَرَفْتُ بِذَنْبِي فَاغْفِرْ لِي ذُنُوبِي جَمِيعًا لَا يَغْفِرُ الذُّنُوبَ إِلَّا أَنْتَ اللَّهُمَّ اهْدِنِي لِأَحْسَنِ الْأَخْلَاقِ لَا يَهْدِي لِأَحْسَنِهَا إِلَّا أَنْتَ اصْرِفْ عَنِّي سَيِّئَهَا لَا يَصْرِفُ عَنِّي سَيِّئَهَا إِلَّا أَنْتَ لَبَّيْكَ وَسَعْدَيْكَ وَالْخَيْرُ كُلُّهُ فِي يَدَيْكَ وَالشَّرُّ لَيْسَ إِلَيْكَ أَنَا بِكَ وَإِلَيْكَ تَبَارَكْتَ وَتَعَالَيْتَ أَسْتَغْفِرُكَ وَأَتُوبُ إِلَيْكَ وَإِذَا رَكَعَ قَالَ اللَّهُمَّ لَكَ رَكَعْتُ وَبِكَ آمَنْتُ وَلَكَ أَسْلَمْتُ خَشَعَ لَكَ سَمْعِي وَبَصَرِي وَمُخِّي وَعِظَامِي وَعَصَبِي وَإِذَا رَفَعَ رَأْسَهُ قَالَ سَمِعَ اللَّهُ لِمَنْ حَمِدَهُ رَبَّنَا وَلَكَ الْحَمْدُ مِلْءَ السَّمَوَاتِ وَالْأَرْضِ وَمَا بَيْنَهُمَا وَمِلْءَ مَا شِئْتَ مِنْ شَيْءٍ بَعْدُ وَإِذَا سَجَدَ قَالَ اللَّهُمَّ لَكَ سَجَدْتُ وَبِكَ آمَنْتُ وَلَكَ أَسْلَمْتُ سَجَدَ وَجْهِي لِلَّذِي خَلَقَهُ وَصَوَّرَهُ فَأَحْسَنَ صُوَرَهُ فَشَقَّ سَمْعَهُ وَبَصَرَهُ فَتَبَارَكَ اللَّهُ أَحْسَنُ الْخَالِقِينَ وَإِذَا فَرَغَ مِنْ الصَّلَاةِ وَسَلَّمَ قَالَ اللَّهُمَّ اغْفِرْ لِي مَا قَدَّمْتُ وَمَا أَخَّرْتُ وَمَا أَسْرَرْتُ وَمَا أَعْلَنْتُ وَمَا أَسْرَفْتُ وَمَا أَنْتَ أَعْلَمُ بِهِ مِنِّي أَنْتَ الْمُقَدِّمُ وَأَنْتَ الْمُؤَخِّرُ لَا إِلَهَ إِلَّا أَنْتَ قَالَ عَبْد اللَّهِ قَالَ بَلَغَنَا عَنْ إِسْحَاقَ بْنِ رَاهَوَيْهِ عَنِ النَّضْرِ بْنِ شُمَيْلٍ أَنَّهُ قَالَ فِي هَذَا الْحَدِيثِ وَالشَّرُّ لَيْسَ إِلَيْكَ قَالَ لَا يُتَقَرَّبُ بِالشَّرِّ إِلَيْكَ

حَدَّثَنَا حُجَيْنٌ حَدَّثَنَا عَبْدُ الْعَزِيزِ عَنْ عَمِّهِ الْمَاجِشُونِ بْنِ أَبِي سَلَمَةَ عَنْ عَبْدِ الرَّحْمَنِ الْأَعْرَجِ عَنْ عُبَيْدِ اللَّهِ بْنِ أَبِي رَافِعٍ عَنْ عَلِيِّ بْنِ أَبِي طَالِبٍ رَضِيَ اللَّهُ عَنْهُ عَنْ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ أَنَّهُ كَانَ إِذَا افْتَتَحَ الصَّلَاةَ كَبَّرَ ثُمَّ قَالَ وَجَّهْتُ وَجْهِي فَذَكَرَ مِثْلَهُ إِلَّا أَنَّهُ قَالَ وَاصْرِفْ عَنِّي سَيِّئَهَا

حَدَّثَنَا حُجَيْنٌ حَدَّثَنَا عَبْدُ الْعَزِيزِ عَنْ عَبْدِ اللَّهِ بْنِ الْفَضْلِ الْهَاشِمِيِّ عَنِ الْأَعْرَجِ عَنِ عُبَيْدِ اللَّهِ بْنِ أَبِي رَافِعٍ عَنْ عَلِيِّ بْنِ أَبِي طَالِبٍ رَضِيَ اللَّهُ عَنْهُ عَنْ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مِثْلَهُ‏.‏

Grade: Sahih (Darussalam), Muslim (771)], Sahih (Darussalam)], Sahih (Darussalam)] (Darussalam)
Reference : Musnad Ahmad 803, 804, 805
In-book reference : Book 5, Hadith 235