Sunan Ibn Majah – Hadith No : 1269

It wasnarrated that ‘Abdullah said: “The Messenger of Allah (ﷺ)said:‘If anyone of you is uncertain about his prayer, let him try todowhat is correct then let him prostrate twice.’”

Hadith In Arabic Text :

حدثنا علي بن محمد، حدثنا وكيع، عن مسعر، عن منصور، عن إبراهيم، عن علقمة، عن عبد الله، قال قال رسول الله صلى الله عليه وسلم ‏”‏ إذا شك أحدكم في الصلاة فليتحر الصواب ثم يسجد سجدتين ‏”‏ ‏.‏ قال الطنافسي هذا الأصل ولا يقدر أحد يرده ‏.‏

Chapter : Establishing the Prayer and the Sunnah Regarding Them – كتاب إقامة الصلاة والسنة فيها