Islam is a comprehensive way of life that provides guidance on every aspect of human existence, from the most significant to the most mundane. This includes matters related to personal hygiene and bodily functions, such as the etiquette of passing gas or flatulence.

Islamic teachings emphasize the importance of cleanliness and purity, both in a physical and spiritual sense, and outline specific guidelines for relieving oneself and disposing of waste. The Prophet Muhammad (peace be upon him) taught his companions to perform these acts with dignity and respect, without causing discomfort or offense to others. Thus, even in matters as seemingly trivial as bodily functions, Islam emphasizes the importance of etiquette and consideration for others, reflecting its holistic approach to life.

Here is the evidence from scholars that mentions the etiquette of relieving oneself in Islam. Please watch the following short video link:
https://youtube.com/shorts/zDkTp_LDxCk?feature=share