Hadith 7803

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