Musa ibn Abi al-Afiya
موسى بن أبي العافية
Musa ibn Abi al-Afiya al-Miknasi, the greatest king of his branch; first an Idrisid client holding Tahert and the Middle Maghreb, then he proclaimed Ubaydallah al-Mahdi's da'wa, expelled Yahya ibn Idris from Fez and ruled the Maghreb for Qayrawan, beat the Idrisid al-Hajjam at Wadi al-Matahin between Taza and Fez — until the eunuch Maysur marched in 323 and exiled him to the Malwiyya desert; he returned, besieged Nekour, and remained chief of Miknasa as a Zirid client until the Almoravids destroyed his house.
At a glance
- Roles
- Ruler · military-commander
- Era
- Abbasid Fragmentation
- Region
- Maghreb
- Review
- Draft Completeness 1/5 · Help complete it
Overview
Musa ibn Abi al-Afiya al-Miknasi, whom Ibn Khaldun describes as the greatest of the kings of his clan. He first entered the service of the Idrisids, and Ibn Idris appointed him over Tahart and the central Maghrib. He then gave the call for Ubayd Allah al-Mahdi, drove Yahya ibn Idris out of Fez, and held the Maghrib in the name of Kairouan. 1
Wars
Ibn Khaldun says that he fought al-Hasan ibn Muhammad al-Idrisi al-Hajjam, and the outcome was his in the Wadi al-Matahin between Taza and Fez. Then Maysur the eunuch marched against him in 323 AH; he took refuge in a fortress and was expelled to the regions of Mluya and Watat. 1
He came back from the desert and took his governorships, besieged the city of Nakur, and the head of Miknasa remained loyal to the Banu Ziri until the line of his sons was ended at the hands of the Almoravids. 1
The dates of birth and death are not given, and the pages 1621–1623 of the Heliopolis edition are referred to without verifying the page for each sentence, so this needs an additional source.
Sources
- Kitab al-Ibar of Ibn Khaldun
Cite this page
islam.museum contributors. “Musa ibn Abi al-Afiya”. islam.museum, https://islam.museum/en/person/musa-ibn-abi-al-afiya/. CC BY-SA 4.0. Accessed 2026-10-17.