Abu Hurairah reported,

The Messenger of Allah ﷺ said, "If any of you is in prayer and feels movement in his rear, uncertain whether he has broken his ablution or not, he should not leave the prayer until he hears a sound or detects an odor."

Abu Dawud 177

Sahih

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

عن أبي هريرة

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

أبو داود 177صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Purification
Chapter
If one is uncertain about breaking wudu
Numbering
Darussalam 177
Abu Dawud 177