I heard the Messenger of Allah ﷺ say, "There is no prayer for one who has no ablution, and there is no ablution for one who does not mention the name of Allah over it. The one who does not believe in me does not believe in Allah, and the one who does not love the Ansar does not believe in me."
حدثنا هيثم يعني ابن خارجة حدثنا حفص بن ميسرة عن ابن حرملة عن أبي ثفال المزني أنه قال سمعت
سمعت رسول الله ﷺ يقول لا صلاة لمن لا وضوء له ولا وضوء لمن لم يذكر اسم الله عليه ولا يؤمن بالله من لا يؤمن بي ولا يؤمن بي من لا يحب الأنصار
Its isnad is daif due to the unknown identity of the narrator who reported from the companion, and it was previously mentioned with its wording and isnad at 16604. The hadith is sahih, as it previously appeared at 9382, as I noted there.