This is what has been transmitted to us by Abu Huraira from Muhammad, the Messenger of Allah ﷺ and then narrated a hadith out of them and observed that the Messenger of Allah ﷺ said: The prayer of none amongst you would be accepted in a state of impurity until he performs ablution.
عَنْ مُحَمَّدٍ رَسُولِ اللَّهِ ﷺ فَذَكَرَ أَحَادِيثَ مِنْهَا وَقَالَ رَسُولُ اللَّهِ ﷺ لاَ تُقْبَلُ صَلاَةُ أَحَدِكُمْ إِذَا أَحْدَثَ حَتَّى يَتَوَضَّأَ