 The ibn al-qadi family gave birth to distinguished people, who, during the previous centuries, had held high political or religious offices and had become famous as islamic scholars.Ahmad Ibn al-Qadi studied with Abd al-Wahid al-Sijilmasi, the famous Moroccan mufti and Ahmad Baba al Massufi.The jurisdiction of Salé was assigned to him.