(34) CHAPTER. Whosoever considers not to repeat ablution except if something is discharged or passed from either exit (front or back private parts).
Narrated `Abbas bin Tamim: My uncle said: The Prophet said, One should not leave his prayer unless he hears sound or smells something.
Authentic