Abdullah bin Masud reported,

The Messenger of Allah ﷺ said, "When one of you is uncertain about his prayer, let him strive to determine what is correct, then perform two prostrations after he finishes."

Nasai 1242

Sahih

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

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

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

النسائي 1242صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Forgetfulness
Chapter
Seeking the most correct direction
Numbering
Darussalam 1242
Nasai 1242