Narrated Abu Maryam al-Azdi (RA):
The Prophet (ﷺ) said: "Whoever is placed by Allah over any matter of the affairs of the Muslims, and then conceals himself (i.e. holds back) from dealing with their needs and their poor (people), Allah will conceal Himself (i.e. hold back) from fulfilling his needs."[Abu Dawud and at-Tirmidhi reported it].
Reference: Bulugh al-Maram 1410
In-book reference: Book 14, Hadith 14
English translation: Book 14, Hadith 1410