Can I still pray if I fart?
Approved answer
Continuation of Prayer After Discomfort
If you are in the midst of your prayers and experience a sensation of gas or wind, it is advisable to proceed with your salah and then conclude it. As long as you are uncertain and have only doubt about whether any air has actually escaped, you should disregard it. This feeling is most likely a distraction, possibly instigated by Satan, aimed at diverting your focus from your act of worship.