Abu 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."
Abu Hurairah narrated that :
the Prophet (ﷺ) said: "Indeed Allah does not accept the prayer of one of you when he commits Hadath, until he performs Wudu."