حَدَّثَنَا
الْقَعْنَبِيُّ ، عَنْ
مَالِكٍ ، عَنْ
زَيْدِ بْنِ أَسْلَمَ ، عَنْ
عَطَاءِ بْنِ يَسَارٍ ، أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ، قَالَ : " إِذَا شَكَّ أَحَدُكُمْ فِي صَلَاتِهِ فَلَا يَدْرِي كَمْ صَلَّى ثَلَاثًا أَوْ أَرْبَعًا فَلْيُصَلِّ رَكْعَةً وَلْيَسْجُدْ سَجْدَتَيْنِ وَهُوَ جَالِسٌ قَبْلَ التَّسْلِيمِ ، فَإِنْ كَانَتِ الرَّكْعَةُ الَّتِي صَلَّى خَامِسَةً شَفَعَهَا بِهَاتَيْنِ ، وَإِنْ كَانَتْ رَابِعَةً فَالسَّجْدَتَانِ تَرْغِيمٌ لِلشَّيْطَانِ " .
Narrated Ata ibn Yasar: The Prophet ﷺ said: When one of you is in doubt about his prayer, and does not know how much he has prayed, three or four rak'ahs, he should pray one (additional) rak'ah and make two prostrations while sitting before giving the salutation. If the (additional) rak'ah which he prayed is the fifth one, he will make it an even number by these two prostrations. If it is the fourth one, the two prostrations will be a disgrace for the devil.
Related hadith on this topic
Explanation & Benefits
Hafiz Muhammad Ameen
1258. Commentary: The original narration has been reported by Malik ibn Mughul from Shu’bi, in which only forgetfulness (sahw) is mentioned. There is no clarification as to what the forgetfulness was. This clarification is found in the narration of Hakam, that he (the Imam) had, out of forgetfulness, performed five rak‘ahs. Both Shu’bi and Hakam are students of ‘Alqamah.
Source: Sunan Nasa'i: Translation and Benefits by Shaykh Hafiz Muhammad Amin Hafizullah, Page: 1258