It was narrated that Abu Sa'eed Al-Khudri said:
"The Prophet was asked about doubts (concerning ablution) during prayer. He said: 'he should not leave until he hears a sound or detects an odor.'"
English reference: Vol. 1, Book 1, Hadith 514
Arabic reference: Book 1, Hadith 554
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.