´It was narrated that Abdullah bin Ja'far said:` "The Messenger of Allah (ﷺ) said: 'Whoever has doubt during his prayer, let him prostrate twice after he has said the taslim'".
Hadith ReferenceSunan an-Nasa'i / The Book of Forgetfulness (In Prayer) / Hadith: 1249
Hadith Gradingالألبانی:ضعيف | زبیر علی زئی:إسناده حسن
Hadith Takhrij«سنن ابی داود/الصلاة 199 (1033) ، مسند احمد 1/204، 205، (تحفة الأشراف: 5224) (ضعیف) (اس کے راوی ’’عقبہ یا عتبہ‘‘ لین الحدیث ہیں، نیز ’’عبداللہ بن مسافع‘‘ کے ان سے سماع میں سخت اختلاف ہے)»