Muslim scholars learned in the Islamic sciences, especially Quranic exegesis, hadith, jurisprudence, theology, philology, and Arabic grammar. Traditionally, the ulema have served as teachers, judges, legal advisors, and moral authorities within Islamic societies, mainly analyzing and interpreting Islamic scripture and tradition. They are not usually part of a formal hierarchy but are trusted community figures. From the early Islamic period through the Mamluk and Ottoman eras, Jerusalem attracted prominent scholars who taught in madrasas, issued legal opinions, and administered Islamic endowments (awqaf). Their scholarship helped link the third holiest city in Islam to wider intellectual networks in Cairo, Damascus, and beyond.
