Hadith 7694

حَدَّثَنَا عَبْدُ الرَّزَّاقِ ، وَابْنُ بَكْرٍ ، قَالَا : أَخْبَرَنَا ابْنُ جُرَيْجٍ ، أَخْبَرَنِي ابْنُ شِهَابٍ ، عَنْ أَبِي سَلَمَةَ بْنِ عَبْدِ الرَّحْمَنِ ، عَنْ أَبِي هُرَيْرَةَ ، أَنَّهُ قَالَ : قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " يَأْتِي أَحَدَكُمْ الشَّيْطَانُ وَهُوَ فِي صَلَاتِهِ ، فَيَلْبِسُ عَلَيْهِ ، حَتَّى لَا يَدْرِيَ كَمْ صَلَّى ، فَإِذَا وَجَدَ ذَلِكَ ، فَلْيَسْجُدْ سَجْدَتَيْنِ وَهُوَ جَالِسٌ " .
It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) said: When any one of you is praying, Satan comes to him and confuses him, so much so that he does not remember how many rak'ahs he has prayed. Whoever experiences this should, when he sits in the final sitting (qa'dah akheerah), perform two prostrations of forgetfulness (sajda sahw).
Hadith Reference مسند احمد / مسند المكثرين من الصحابة / 7694
Hadith Grading حکم دارالسلام: إسناده صحيح، خ: 1232، م: 389.