Prayer (Kitab Al-Salat): Details of Commencing Prayer

Dawud :: Book 3 : Hadith 1022

Narrated Ata' ibn Yasar:

The Prophet (peace_be_upon_him) said: If one of you is in doubt about his prayer, and if he is sure that he has prayed three rak'ahs, he should stand and complete one rak'ah along with its prostrations. Then he should sit and recite the tashahhud. When he finishes the prayer, and there remains nothing except salutation, he should make two prostrations while he is sitting and afterwards should give the salutation.

Source materials are from the University of Southern California MSA site
Hadith eBooks converted from Imaan Star