Hadith 7286

(حديث مرفوع) حَدَّثَنَا سُفْيَانُ ، عَنِ الزُّهْرِيِّ ، عَنْ أَبِي سَلَمَةَ ، عَنْ أَبِي هُرَيْرَةَ ، يَبْلُغُ بِهِ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " يَأْتِي أَحَدَكُمْ الشَّيْطَانُ وَهُوَ فِي صَلَاتِهِ ، فَيَلْبِسُ عَلَيْهِ ، حَتَّى لَا يَدْرِيَ كَمْ صَلَّى ، فَمَنْ وَجَدَ مِنْ ذَلِكَ شَيْئًا ، فَلْيَسْجُدْ سَجْدَتَيْنِ ، وَهُوَ جَالِسٌ " .
It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) that when any one of you is performing prayer, Satan comes to him and confuses him, to the extent that he does not remember how many rak'ahs he has performed. Whoever experiences such a situation should, when he sits in the final sitting (qa'dah akheerah), perform two prostrations of forgetfulness (sujood as-sahw).
Hadith Reference مسند احمد / مسند المكثرين من الصحابة / 7286
Hadith Grading حکم دارالسلام: إسناده صحيح، خ: 1232، م: 389.