Abu Ubaydah reported, on the authority of his father Abdullah (ibn Masud), the Messenger of Allah صلی اللہ علیہ وسلم as saying: When you offer the prayer, and you are in doubt about the number of rak'ahs whether offered three or four, and you have prayed four rak'ahs in all probability in your opinion, you should recite tashahhud and make two prostrations while you are sitting before giving the salutation. afterwards you should recite the tashahhud and give the salutation again. Abu Dawud said: This tradition has been narrated by Abd al-Wahid from Khusaif, but he did not report it as a statement of the Prophet صلی اللہ علیہ وسلم. The version of Abd al-Wahid has been corroborated by Sufyan, Sharik, and Isra'il. They differed amongst themselves about the text of the tradition and they did not narrate it with the continuous chain up to the Prophet صلی اللہ علیہ وسلم.