Ibrahim reported,

They used to say that if someone becomes uncertain in his prayer, he should seek out what is correct and then perform two prostrations.

Nasai 1248

Sahih

أخبرنا سويد بن نصر قال أنبأنا عبد الله عن ابن عون

عن إبراهيم قال

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

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