Abu Saeed Khudri reported,

One of us prays and does not know how much he has prayed.He replied, "The Messenger of Allah ﷺ said, 'When one of you prays and does not know how much he has prayed, let him perform two prostrations while sitting.'"

Ibn Majah 1204

Hasan

حدثنا عمرو بن رافع حدثنا إسمعيل ابن علية عن هشام حدثني يحيى حدثني عياض أنه سأل

أبا سعيد الخدري فقال

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

ابن ماجه 1204حسن
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Establishing prayer and the sunnah regarding it
Chapter
Forgetfulness in prayer
Numbering
Darussalam 1204
Ibn Majah 1204