Abu Maryam Al-Azdi (May Allah be pleased with him) reported:
I said to Mu'awiyah (bin Abu Sufyan) (May Allah be pleased with them): I heard Messenger of Allah (ﷺ) saying, "If Allah invests to someone the affairs of the Muslims and he (i.e., the ruler) ignores their rights, denies their access to him and neglects their needs, Allah will not answer his prayer or realize his hopes and will act towards him with indifference on the Day of Resurrection." So Mu'awiyah appointed a person to keep a vigil on the necessities of the people and to fulfill them.[Abu Dawud and At- Tirmidhi].
Arabic/English book reference: Book 1, Hadith 658