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.”