It wasnarrated from Abu Hurairah that the Prophet (ﷺ) said:
"TheSatancomes between the son of Adam and his soul, and he does not knowhowmany Rak'ah he has prayed. If a person notices that, then let himprostrate twice before he says the Salam." (PT)
English reference (PT): Vol. 1, Book 5, Hadith 1217 (PT)
Arabic reference (PT): Book 5, Hadith 1274 (PT)