Purification (Kitab Al-Taharah)

Dawud :: Book 1 : Hadith 205

Narrated Ali ibn Talq:

The Apostle of Allah (peace_be_upon_him) said: When any of you breaks wind during the prayer, he should turn away and perform ablution and repeat the prayer.

Source materials are from the University of Southern California MSA site
Hadith eBooks converted from Imaan Star