Mishkat al-Masabih
Mishkat al-Masabih 3729
عَنْ أَبِي الشَّمَّاخِ الْأَزْدِيِّ عَنِ ابْنِ عَمٍّ لَهُ مِنْ أَصْحَابِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ أَنَّهُ أَتَى مُعَاوِيَةَ فَدَخَلَ عَلَيْهِ فَقَالَ: سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَقُولُ: «مَنْ وَلِيَ مِنْ أَمْرِ النَّاسِ شَيْئًا ثُمَّ أَغْلَقَ بَابَهُ دُونَ الْمُسْلِمِينَ أَوِ الْمَظْلُومِ أَوْ ذِي الْحَاجَةِ أَغْلَقَ اللَّهُ دُونَهُ أَبْوَابَ رَحْمَتِهِ عِنْدَ حَاجَتِهِ وَفَقْرِهِ أَفْقَرَ مَا يَكُونُ إليهِ»
Abu al-Shammakh al-Azdi reported from a cousin of his who was one of the Prophet's Companions: He came to Muawiya, entered upon him, and said, I heard the Messenger of God say: Whoever is given authority over any matter of the people and then closes his door to Muslims, to one who has been wronged, or to anyone with a need, God will close the gates of His mercy to him when he is in need and poverty—when he is most in need of it.