صحيح ابن خزيمه
Sahih Ibn Khuzaymah
جُمَّاعُ أَبْوَابِ الصَّلَاةِ عَلَى الْبُسُطِ
Chapters on Praying on Mats
(422) بَابُ الْمُصَلِّي يَشُكُّ فِي الْحَدَثِ، وَالْأَمْرِ بِالْمُضِيِّ فِي صَلَاتِهِ وَتَرْكِ الِانْصِرَافِ عَنِ الصَّلَاةِ
The chapter on a praying person doubting impurity, and the command to continue praying and not leave the prayer
Hadith Number: Q1018
إذا خيل إليه انه قد احدث فيها، والدليل على ان يقين الطهارة لا يزول إلا بيقين حدث وان الصلاة لا تفسد بالشك في الحدث حتى يستيقن المصلي بالحدث
If it is imagined to him that he has broken his wudu in it, and the evidence is that certainty of purity is not removed except by certainty of impurity, and that the prayer is not invalidated by doubt regarding impurity until the one praying is certain of impurity.
تخریج الحدیث:
Hadith Number: 1018
نا عبد الجبار بن العلاء ، نا سفيان ، نا الزهري ، اخبرني عباد بن تميم ، عن عمه عبد الله بن زيد ، قال: سالت رسول الله صلى الله عليه وسلم عن الرجل يجد الشيء وهو في الصلاة، فقال:" لا ينصرف حتى يسمع صوتا، او يجد ريحا"
Sayyiduna Abdullah bin Zaid (may Allah be pleased with him) narrates that I asked the Messenger of Allah (peace and blessings be upon him) about a person who feels something during prayer. The Messenger of Allah (peace and blessings be upon him) said: "He should not break his prayer until he hears a sound or perceives a smell."
تخریج الحدیث: