Musnad Ahmad 4075
Grading supplied with this record: Its isnad is da'eef because it is interrupted Abu ‘Ubaidah did not hear from his father Ibn Mas’ood]
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
It was narrated from Abu ‘Ubaidah, from his father 'Abdullah bin Mas'ood, that
The Prophet (ﷺ) said: “If you are praying and you are not sure whether you did three or four (rak'ahs), but you think it most likely that you did four, then say the tashahhud, then do two prostrations when you are sitting, before you say the salam. Then say the tashahhud again, then say the salam.”
Full reference and source
Musnad Ahmad 4075 Arabic/English book : Book 26, Hadith 4075
View source on Sunnah.com (opens in a new tab)