Abdullah bin Masud reported,

The Messenger of Allah ﷺ led us in prayer, and he either added something or left something out. Ibrahim said, "The uncertainty about which it was comes from me."We asked, "Messenger of Allah, has something changed in the prayer?"He replied, "Why do you ask?"We said, "You prayed such and such."He said, "I am only a human being. I forget just as you forget. So when one of you forgets, let him perform two prostrations."Then he turned and performed two prostrations.

Ahmad 4032

Sahih

حدثنا ابن نمير عن الأعمش عن إبراهيم عن علقمة

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

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

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