Hadith 205
Narrated Ali ibn Talq: The Messenger of Allah ﷺ said: When any of you breaks wind during the prayer, he should turn away and perform ablution and repeat the prayer.
Hadith 1005
Ali bin Talq reported the Messenger of Allah ﷺ as saying: When any of you breaks wind during prayer, he must withdraw, perform ablution, and repeat the prayer.