Sahih al-Bukhari, Book 90, Hadith 2 (In-Book) ⓘ
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).
حَدَّثَنِي إِسْحَاقُ، حَدَّثَنَا عَبْدُ الرَّزَّاقِ، عَنْ مَعْمَرٍ، عَنْ هَمَّامٍ، عَنْ أَبِي هُرَيْرَةَ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ " لاَ يَقْبَلُ اللَّهُ صَلاَةَ أَحَدِكُمْ إِذَا أَحْدَثَ حَتَّى يَتَوَضَّأَ " .
also referenced under: Hadith 6954 (DarusSalam) & Volume 9, Book 86, Hadith 86 (USC-MSA)