The Book of Prayer
Bulugh al-Maram #245
كتاب الصلاة
عَنْ عَلِيِّ بْنِ طَلْقٍ - رضى الله عنه - قَالَ: قَالَ رَسُولُ اَللَّهِ - صلى الله عليه وسلم -«إِذَا فَسَا أَحَدُكُمْ فِي اَلصَّلَاةِ فَلْيَنْصَرِفْ, وَلْيَتَوَضَّأْ, وَلْيُعِدْ اَلصَّلَاةَ» رَوَاهُ اَلْخَمْسَةُ, وَصَحَّحَهُ اِبْنُ حِبَّانَ.
Narrated 'Ali bin Talq (RA):
Allah's Messenger (ﷺ) said: “When one of you releases air (through his anus) during Salat (prayer), he should break the Salat (prayer) then perform ablution and repeat the prayer.”
عَنْ عَلِيِّ بْنِ طَلْقٍ - رضى الله عنه - قَالَ : قَالَ رَسُولُ اَللَّهِ - صلى الله عليه وسلم -"إِذَا فَسَا أَحَدُكُمْ فِي اَلصَّلَاةِ فَلْيَنْصَرِفْ , وَلْيَتَوَضَّأْ , وَلْيُعِدْ اَلصَّلَاةَ" رَوَاهُ اَلْخَمْسَةُ , وَصَحَّحَهُ اِبْنُ حِبَّانَ .
Allah's Messenger (ﷺ) said: "When one of you releases air (through his anus) during Salat (prayer), he should break the Salat (prayer) then perform ablution and repeat the prayer."
— Bulugh al-Maram, Hadith 245