As Muslim institutions of higher learning, the madrasa had the legal designation of waqf. When the madaris are considered as a charity, who controls the school?