أَخْبَرَنَا مُحَمَّدُ بْنُ رَافِعٍ، قَالَ حَدَّثَنَا يَحْيَى بْنُ آدَمَ، قَالَ حَدَّثَنَا مُفَضَّلٌ، - وَهُوَ ابْنُ مُهَلْهَلٍ - عَنْ مَنْصُورٍ، عَنْ إِبْرَاهِيمَ، عَنْ عَلْقَمَةَ، عَنْ عَبْدِ اللَّهِ، يَرْفَعُهُ إِلَى النَّبِيِّ صلى الله عليه وسلم قَالَ ‏"‏ إِذَا شَكَّ أَحَدُكُمْ فِي صَلاَتِهِ فَلْيَتَحَرَّ الَّذِي يَرَى أَنَّهُ الصَّوَابُ فَيُتِمَّهُ ثُمَّ - يَعْنِي - يَسْجُدُ سَجْدَتَيْنِ ‏"‏ ‏.‏ وَلَمْ أَفْهَمْ بَعْضَ حُرُوفِهِ كَمَا أَرَدْتُ ‏.‏
Translation
It was narrated that 'Abdullah said

"The Messenger of Allah (ﷺ) said: 'If one of you is not sure about his prayer, let him estimate and prostrate twice after he has finished."

Comment

The Book of Forgetfulness (In Prayer)

Sunan an-Nasa'i - Hadith Reference: Sunan an-Nasa'i 1241

Hadith Text

"The Messenger of Allah (ﷺ) said: 'If one of you is not sure about his prayer, let him estimate and prostrate twice after he has finished."

Commentary on the Hadith

This noble hadith establishes the principle of "sahw" (forgetfulness) in prayer and provides guidance for one who experiences doubt during salah. The Prophet (ﷺ) instructs the worshipper to rely upon what is most certain in their estimation when uncertainty arises regarding the number of rak'ahs performed.

The phrase "let him estimate" means to build upon what one is more certain of, acting upon the stronger conviction. This reflects the Islamic legal principle that certainty is not overruled by doubt. The two prostrations of forgetfulness performed at the end of the prayer serve as compensation for any potential deficiency and are a means of seeking Allah's forgiveness for inadvertent errors.

This teaching demonstrates the mercy and practicality of Islamic legislation, accommodating human nature while maintaining the integrity of worship. The prostrations of forgetfulness rectify any shortcomings and complete the prayer, ensuring the worshipper's devotion remains accepted by Allah.

Legal Rulings Derived

When doubt occurs during prayer, one should act upon what is most certain

The prostrations of forgetfulness are performed before the tasleem (concluding salutation)

This ruling applies to both obligatory and voluntary prayers

The doubting worshipper should not nullify their prayer due to uncertainty