consequently legal treatises dealing with the subject usually spoke of the appointment to office of a qadi (taqlīd al-qaḍā) rather than.
Qadi (also known as Qazi and Kadi) (Arabic: قاضي) is a judge ruling in accordance with the sharia, Islamic religious law. Because Islam makes no distinction between religious and secular domains, qadis traditionally have jurisdiction over all legal matters involving Muslims. The judgment of a qadi must be based on ijma, the prevailing consensus of the ulema, Islamic scholars. Charges of favoritism and corruption against qadis are as ancient in Islam as anti-clericalism is in the West
Muslim judge who renders decisions according to the Sharah, the canon law of Islam. The q hears only religious cases, such as those involving inheritance, pious bequests, marriage, and divorce, though theoretically his jurisdiction extends to civil and criminal matters. The second caliph, Umar ibn al-Khattb, was the first to appoint a q to eliminate the necessity of his personally judging every dispute that arose in the community
A judge specifically trained to interpret the shari'a; in addition to handing down binding judgments, he might also serve as an arbitrator to amicably resolve disputes