It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) was asked about a man who feels a doubt (that his ablution has been broken) during his prayer.
He (peace and blessings be upon him) said: "He should by no means turn away (from the prayer) until he hears a sound or perceives a smell."
Hadith Referenceالمعجم الأوسط / باب الألف / 550
Hadith Takhrij«أخرجه مسلم فى «صحيحه» برقم: 362، وابن خزيمة فى «صحيحه» برقم: 24، 28، وأبو داود فى «سننه» برقم: 177، والترمذي فى «جامعه» برقم: 75، والدارمي فى «مسنده» برقم: 748، والبيهقي فى «السنن الكبرى» برقم: 577، 766، 3427، 3428، وأحمد فى «مسنده» برقم: 8485، 8486، 9479، والبزار فى «مسنده» برقم: 7748، 9064، (14/198) [دون رقم في الترقيم المختار]، والطبراني فى «الأوسط» برقم: 1565، 2064»