Sunan At-Tirmidhi

Hadith #1166

Ali narrated that The Messenger of Allah said:“When one of you breaks wind then let him perform Wudu, and do not go into your women through their behinds.”