The Prophet (ﷺ) said, "The honest treasurer who gives willingly what he is ordered to give, is one of the two charitable persons, (the second being the owner).
Sahih al-Bukhari Book 37, Hadith 1