Sahih al-Bukhari, Book 90, Hadith 2 (Bukhari 6697)

Narrated Abu Huraira:

The Prophet (ﷺ) said, "Allah does not accept prayer of anyone of you if he does Hadath (passes wind) till he performs the ablution (anew).