Almoravid dynasty
Abūʾl-Qāsim Aḥmad ibn al-Ḥusayn ibn Qasī (died 1151) was a Sufi, a rebel leader against the Almoravid dynasty in Al-Garb Al-Andalus and governor of Silves for the Almohads. The main sources for his life are Ibn al-Abbār, Ibn al-Khaṭīb and ʿAbd al-Wāḥid al-Marrakūshī. The last is the source for his biography in the biographical dictionary of al-Ṣafadī.