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

"Whoever has doubt, or is not sure, let him estimate what is correct, then let him prostrate twice."

Comment

The Book of Forgetfulness (In Prayer)

Author: Sunan an-Nasa'i | Hadith Reference: Sunan an-Nasa'i 1246

Hadith Text

"Whoever has doubt, or is not sure, let him estimate what is correct, then let him prostrate twice."

Commentary on the Hadith

This noble hadith establishes the principle for dealing with doubt during prayer. When uncertainty arises regarding the number of rak'ahs performed, the worshipper should rely upon what they are most certain of, then complete the prayer accordingly.

The two prostrations mentioned are the prostrations of forgetfulness (sujud al-sahw), which serve to compensate for any deficiency that may have occurred due to the doubt. This ruling demonstrates the mercy of Islamic law, providing a clear methodology to resolve uncertainty without invalidating the prayer.

Scholars explain that this applies to cases where one cannot determine whether they performed three or four rak'ahs, for example. The worshipper should base their action on the lesser number they are certain of, complete the prayer, then perform the prostrations of forgetfulness before the tasleem.

Legal Rulings Derived

• Doubt in prayer does not necessitate its repetition if handled according to this procedure

• The prostrations of forgetfulness rectify minor errors and uncertainties

• One should act upon certainty rather than speculation in matters of worship

• This ruling applies to obligatory prayers where doubt occurs about the number of units