´It was narrated from Abu Hurairah that the Prophet (ﷺ) said:` “The Satan comes between the son of Adam and his soul, and he does not know how many Rak’ah he has prayed. If a person notices that, then let him prostrate twice before he says the Salam.”
Hadith Referenceسنن ابن ماجه / كتاب إقامة الصلاة والسنة / 1217
Hadith Gradingالألبانی:حسن صحيح | زبیر علی زئی:حسن
Hadith Takhrij« تفرد بہ ابن ماجہ ، ( تحفة الأشراف : 14962 ) ، وقد أخرجہ : صحیح البخاری/الأذان 4 ( 608 ) ، العمل في الصلاة 18 ( 1222 ) ، السہو 6 ( 1231 ) ، بدء الخلق 11 ( 3285 ) ، صحیح مسلم/السہو19 ( 389 ) سنن ابی داود/الصلاة 31 ( 516 ) ، مسند احمد ( 2/313 ، 398 ، 411 ) ( حسن صحیح ) »