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." (AR)
English reference (AR): Vol. 1, Book 5, Hadith 1217 (AR)
Arabic reference (AR): Book 5, Hadith 1274 (AR)