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)
Hadith No. 6954
Sahih al Bukhari