Abdur-Rahman bi Awf narrated that he heard the Prophet (S) saying:
"When one of you becomes forgetful in his Salat so that he does not know if he prayed one or two, then let him consider it one. When he does not know if he prayed three or four, then let him consider it three, and let him perform two prostrations before he says the Taslim."
Reference: Jami` at-Tirmidhi 398 In-book : Book 2, Hadith 251 English translation : Vol. 1, Book 2, Hadith 398
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.