When any of you breaks wind during prayer, he must withdraw, perform ablution, and repeat…

Sunan Abu Dawud Book 2 Hadith 616

Sunan Abu Dawud #1005

Prayer (Kitab Al-Salat) 2:616

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

Chapter: If One Breaks Wudu' During Prayer, He Must Start From The Beginning

Grade: Da'if (Al-Albani)