Prayer

Malik :: Book 3 : Hadith 3.17.68

Yahya related to me from Malik from Afif ibn Amr as-Sahmi that Ata ibn Yasar said, "I asked Abdullah ibn Amr ibn al-As and Kab al Ahbar about someone who was uncertain in his prayer, and did not know whether he had prayed three or four rakas. Both of them said, 'He should pray another raka and then do two sajdas from the sitting position.' "

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