‘Amr ibn Murrah reported: The Messenger of Allah, peace and blessings be upon him, said, “There is no leader who closes the door to someone in need, in hardship, and in poverty, but that Allah closes the gates of heaven to him when he is in need, in hardship, and in poverty.”
Source: Sunan al-Tirmidhī 1332
Grade: Sahih (authentic) according to Al-Albani
عن عمرو بن مرة قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مَا مِنْ إِمَامٍ يُغْلِقُ بَابَهُ دُونَ ذَوِي الْحَاجَةِ وَالْخَلَّةِ وَالْمَسْكَنَةِ إِلَّا أَغْلَقَ اللَّهُ أَبْوَابَ السَّمَاءِ دُونَ خَلَّتِهِ وَحَاجَتِهِ وَمَسْكَنَتِهِ
1332 سنن الترمذي كتاب الأحكام باب ما جاء في إمام الرعية
1332 المحدث الألباني خلاصة حكم المحدث صحيح في صحيح الترمذي