Abdullah bin Masud reported,

The Messenger of Allah ﷺ said, "I am only a human being. I forget just as you forget. So whichever of you has a doubt about his prayer, let him consider what is closest to being correct, complete his prayer based on that, and then perform two prostrations."

Ahmad 4348

Sahih

حدثنا محمد بن عبيد حدثنا مسعر عن منصور عن إبراهيم عن علقمة

عن عبد الله قال

قال رسول الله ﷺ إنما أنا بشر أنسى كما تنسون فأيكم ما شك في صلاته فلينظر أحرى ذلك الصواب فليتم عليه ويسجد سجدتين

أحمد 4348صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abdullah bin Masud
Numbering
Darussalam 4348
Ahmad 4348