The Prophet (ﷺ) said, "Allah does not accept prayer of anyone of you if he does Hadath…

Sahih al-Bukhari Book 90 Hadith 2

Sahih al-Bukhari #6954

Tricks 90:2

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

Chapter: (Tricks) in As-Salat

Grade: Sahih