Each province was under the charge of a Governor or Wali. The Governor was in charge of civil as well as military administration. He was assisted by Katib, the Chief Secretary; Katib -i- Diwan-Secretary Defense; Sahib-i-Kharaj - Revenue Collector; Sahib-ul-Ahdath-Inspector General of Police; Sahib- i- Bait-ul- Mal-Treasury Officer; and Qadi-Chief Judge.
Every province was divided into districts. There were about 100 districts in the country. Each district was under the charge of an Aamil. The Qadi was responsible for judicial administration.
"When a person dies, his works end, except for three: ongoing charity, knowledge that is benefited from, and a righteous child who prays for him."
Prophet Mohammed (PBUH)
"The best of what a man leaves behind are three: a righteous child who supplicates for him, ongoing charity the reward of which reaches him, and knowledge that is acted upon after him."
Sunan Ibn Mājah
"Every day two angels come down from Heaven and one of them says, 'O Allah! Compensate every person who spends in Your Cause,' and the other (angel) says, 'O Allah! Destroy every miser.'"
Sahih Bukhari