Toggle above to switch between keyword search and direct hadith lookup

Hadith 1023

نَا مُحَمَّدُ بْنُ الْعَلاءِ بْنِ كُرَيْبٍ ، وَعَبْدُ اللَّهِ بْنِ سَعِيدٍ الأَشَجُّ ، قَالا : حَدَّثَنَا أَبُو خَالِدٍ ، عَنِ ابْنِ عَجْلانَ ، عَنْ زَيْدِ بْنِ أَسْلَمَ ، عَنْ عَطَاءِ بْنِ يَسَارٍ ، عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ ، قَالَ : قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " إِذَا شَكَّ أَحَدُكُمْ فِي صَلاتِهِ فَلْيُلْغِ الشَّكَّ وَلْيَبْنِ عَلَى الْيَقِينِ ، فَإِنِ اسْتَيْقَنَ التَّمَامَ سَجَدَ سَجْدَتَيْنِ ، فَإِنْ كَانَتْ صَلاتُهُ تَامَّةً كَانَتِ الرَّكْعَةُ نَافِلَةً وَالسَّجْدَتَانِ ، وَإِنْ كَانَتْ نَاقِصَةً كَانَتِ الرَّكْعَةُ تَمَامًا لِصَلاتِهِ وَالسَّجْدَتَانِ تُرْغِمَانِ أَنْفَ الشَّيْطَانِ "
Sayyiduna Abu Sa'id Khudri (may Allah be pleased with him) narrates that the Messenger of Allah (peace and blessings of Allah be upon him) said: "When any of you has doubt in his prayer, he should leave the doubt and act upon what is certain. Then, if he becomes certain that his prayer is complete, he should perform two (prostrations of forgetfulness) sajdahs. If his prayer was complete, then that rak'ah and the two sajdahs will be counted as voluntary (nafl) acts, and if the prayer was not complete, then this rak'ah will complete his prayer and the two sajdahs will be a means of humiliating and disgracing Satan."
وَالدَّلِيلِ عَلَى أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِنَّمَا أَمَرَ الشَّاكَّ فِي صَلَاتِهِ بِسَجْدَتَيِ السَّهْوِ بَعْدَمَا يَبْنِي عَلَى الْأَقَلِّ، فَيُتَمِّمُ صَلَاتَهُ عَلَى يَقِينٍ إِذَا لَمْ يَكُنْ لَهُ تَحَرٍّ
And the evidence that the Prophet, peace and blessings be upon him, only commanded the one who is doubtful in his prayer to perform the two prostrations of forgetfulness after he builds upon the lesser (number), so he completes his prayer based on certainty if he does not have any inclination.
Hadith Reference صحيح ابن خزيمه / جماع أبواب السهو فى الصلاة / 1023