The founder of the house was Abd-ul-Qasim Mahommed, the cadi of Seville in 1023.
On the other hand, he may become a judge or cadi.
The grand cadi, who must belong to the sect of the Hanifis, sits at Cairo, and is aided by a council of Ulema or learned men.
According to Shafi`ite law, such a cadi must be a male, free, adult Moslem, intelligent, of unassailed character, able to see, hear and write, learned in the Koran, the traditions, the Agreement, the differences of the legal schools, acquainted with Arabic grammar and the exegesis of the Koran.
Having received permission to make the pilgrimage to Mecca, he reached Cairo, where he was presented to the sultan, al-Malik udh-Dhahir Barkuk, who insisted on his remaining there, and in the year 1384 made him grand cadi of the Malikite rite for Cairo.