It is narrated from Sayyiduna Abdullah bin Ja'far (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever has a doubt in his prayer (concerning the number of rak'ahs or the like), let him perform two prostrations (the prostration of forgetfulness) after giving the salam."
Hadith Referenceمسند أبي يعلى الموصلي / مسند عبد الله بن جعفر الهاشمي / 6802
Hadith Gradingمحدثین:إسناده ضعيف
Hadith Takhrij«حکم الحدیث مسند ابی یعلی محققاً تنسیق حسين سليم أسد - مکتبہ شاملہ :قال حسين سليم أسد: إسناده ضعيف . » «قال سعيد بن محمد السناري: منكر بهذا التمام: مضى الكلام عليه قريبًا [برقم 6792]» «أخرجه سنن النسائي برقم: 1248، 1249، 1250، 1251، وأخرجه سنن أبي داود برقم: 1033، وأخرجه مسند أحمد برقم: 1755، مسند ابویعلیٰ ترقیم الاثری: 6769»