Sahih al-Bukhari 135
صحيح البخاري#135SahihNarrated Abu Huraira:Allah's Messenger (ﷺ) said, "The prayer of a person who does Hadath (passes urine, stool or wind) is not accepted till he performs the ablution." A person from Hadaramout asked Abu Huraira, "What is 'Hadath'?" Abu Huraira replied, " 'Hadath' means the passing of wind
Scholarly Authentication
We show the most cautious grade (weakest-wins) as the overall label. Individual scholars graded it as follows:
Every narration in Sahih al-Bukhari is accepted as Sahih (authentic) by the established status of the book.
In-book reference: 4:1