Jami` at-Tirmidhi 1332
جامع الترمذي#1332SahihAbul-Hasan narrated that 'Amr bin Murrah said to Mu'awiyah:"I heard the Messenger of Allah (ﷺ) saying: 'No Imam closes his door on one in need, dire straits and poverty, except that Allah closes the gates of the Heavens from his dire straits, his needs, and his poverty.' So Mu'awiyah appointed a man to look after the needs of the people
Scholarly Authentication
We show the most cautious grade (weakest-wins) as the overall label. Individual scholars graded it as follows:
Ahmad Muhammad ShakirSahih
Al-AlbaniSahih
Bashar Awad MaaroufHasan
Zubair Ali ZaiHasan
In-book reference: 15:12