It is narrated from a cousin of Abu al-Shammakh al-Azdi (may Allah have mercy on him) (who was a Companion of the Messenger) (may Allah be pleased with him) that he came to Sayyiduna Mu'awiyah (may Allah be pleased with him) and said: I heard the Messenger of Allah (peace and blessings be upon him) say: "Whoever is made responsible for any affair of the Muslims and shuts his door to the poor, the weak and the needy in the face of their needs and their poverty, Allah, the Mighty and Majestic, will shut the door of His mercy against him on the day of his need and want, when he is most in need of it." The narrator says: I could not establish clearly whether the one who related this saying was Sayyiduna al-Azdi (may Allah be pleased with him), relating it to Sayyiduna Mu'awiyah (may Allah be pleased with him), or whether Sayyiduna Mu'awiyah (may Allah be pleased with him) himself said to Sayyiduna al-Azdi (may Allah be pleased with him): "I heard the Messenger of Allah (peace and blessings be upon him)."
Hadith Referenceمسند أبي يعلى الموصلي / حديث معاوية بن أبي سفيان رضي الله عنه / 7378
Hadith Takhrij«قال سعيد بن محمد السناري: صحيح لغيره» «أخرجه مسند أحمد برقم: 15511، وأخرجه إتحاف الخيرة المهرة بزوائد المسانيد العشرة برقم: 4882/2، مسند ابویعلیٰ ترقیم الاثری: 7340»