Abu Huraira reported God's Messenger as saying, “When one of you stands up to pray the devil comes to him and confuses him so that he does not know how much he has prayed. If any of you has such an experience he should perform two prostrations during the period when he sits.”* * i.e. before pronouncing the taslim. (Bukhari and Muslim.)
Hadith Referenceمشكوة المصابيح / كتاب الصلاة / 1014
Hadith Gradingالألبانی:مُتَّفَقٌ عَلَيْهِ | زبیر علی زئی:متفق عليه
Hadith Takhrij´تحقيق و تخريج: محدث العصر حافظ زبير على زئي رحمه الله` «متفق عليه، رواه البخاري (1232) و مسلم (82/ 389)»