Jami` at-Tirmidhi 75
جامع الترمذي#75SahihAbu Hurairah narrated that :Allah's Messenger said: "When one of you is in the Masjid, and he senses wind between his buttocks then he should not exit until he hears a sound or smells an odor
Scholarly Authentication
We show the most cautious grade (weakest-wins) as the overall label. Individual scholars graded it as follows:
Ahmad Muhammad ShakirSahih
Al-AlbaniSahih
Bashar Awad MaaroufHasan Sahih
Zubair Ali ZaiSahih - Agreed Upon
In-book reference: 1:75