An Arabi came to the Prophet ﷺ and said, "Messenger of Allah, one of us may be out in the desert when a slight wind passes from him, and water is scarce."The Messenger of Allah ﷺ replied, "When one of you breaks wind, let him perform ablution. And do not approach women in their backsides, for Allah is not too shy to declare the truth."
حدثنا أحمد بن منيع وهناد قالا حدثنا أبو معاوية عن عاصم الأحول عن عيسى بن حطان عن مسلم بن سلام
أتى أعرابي النبي ﷺ فقال يا رسول الله الرجل منا يكون في الفلاة فتكون منه الرويحة ويكون في الماء قلة فقال رسول الله ﷺ إذا فسا أحدكم فليتوضأ ولا تأتوا النساء في أعجازهن فإن الله لا يستحيي من الحق
Its chain of transmission is hasan. Abu Dawud also narrated it in the chapter on Purification, the section on one who breaks wind during prayer, hadith no. 205, from the narration of Asim Ahwal with the same chain, and Ibn Hibban graded it sahih, hadith nos. 203, 1301, 204.There are also narrations on this subject from Umar [Nasai in al-Kubra, 5/322, hadith no. 9009], Khuzayma bin Thabit [Humaydi, hadith no. 436, and Ahmad, 5/213, and Nasai in al-Kubra], Ibn Abbas [to come, no. 1165], and Abu Hurairah [Abu Dawud, hadith no. 2162].