Musnad Ahmad 4076
Grading supplied with this record: lts isnad is da’eef because it is interrupted]
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 that ‘Abdullah bin Mas'ood said:
If you are not sure about your prayer, when you are sitting, and you do not know whether you prayed three or four, but you think it most likely that you prayed three, then get up and do one rak'ah, then say the salam, then prostrate twice, then say the tashahhud, then say the salam. If you think it most likely that you prayed four, then say the salam, then prostrate twice, then say the tashahhud, then say the salam.
Full reference and source
Musnad Ahmad 4076 Arabic/English book : Book 26, Hadith 4076
View source on Sunnah.com (opens in a new tab)