The Prophet ﷺ said, "There is no prayer for one who has no ablution, no ablution for one who does not mention the name of Allah over it, no prayer for one who does not send blessings upon the Prophet, and no prayer for one who does not love the Ansar."Abu al-Hasan bin Salama said, Abu Hatim narrated to us, Isa bin Marhum al-Attar narrated to us, Abd al-Muhaymin bin Abbas narrated to us, and he mentioned something similar.
حدثنا عبد الرحمن بن إبراهيم حدثنا ابن أبي فديك
عن النبي ﷺ قال لا صلاة لمن لا وضوء له ولا وضوء لمن لم يذكر اسم الله عليه ولا صلاة لمن لا يصلي على النبي ولا صلاة لمن لا يحب الأنصار قال أبو الحسن بن سلمة حدثنا أبو حاتم حدثنا عيسى بن مرحوم العطار حدثنا عبد المهيمن بن عباس فذكر نحوه