Sunan Abi Dawud

Hadith #1005

‘Ali b. 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