At a glance
- Roles
- Ruler · military-commander
- Era
- Abbasid Fragmentation
- Region
- Maghreb
- Identifiers
- Wikidata
- Review
- Draft Completeness 1/5 · Help complete it
Life in time
Overview
Al-Hasan ibn Muhammad ibn al-Qasim ibn Idris al-Idrisi, titled al-Hajjam. Ibn Khaldun describes him as bold and courageous. He rose in Fez in 313 AH and killed its governor Rayhan al-Kutami, and people gathered to give him the allegiance. 1
The battle of Wadi al-Matahin
Musa ibn Abi al-Afiya went out to fight him, and they advanced on each other on the plain of Adhad between Taza and Fez, known that day as the Wadi al-Matahin. The war grew fierce, and the outcome was in favour of Ibn Abi al-Afiya, so al-Hasan returned to Fez. 1
Then his agent over the Qarawiyyin bank, Hamid ibn Hamdan al-Hamdani, betrayed him and gave Ibn Abi al-Afiya control of the city. Ibn Khaldun says he was the last of the Idrisid kings in the Maghrib. 1
The museum's date of death is approximate, around 318 AH (930 CE). It is derived from the fall of Fez and needs an additional source.
Sources
- Kitab al-Ibar of Ibn Khaldun
Cite this page
islam.museum contributors. “al-Hasan ibn Muhammad al-Idrisi "al-Hajjam"”. islam.museum, https://islam.museum/en/person/al-hajjam-al-idrisi/. CC BY-SA 4.0. Last updated 2026-10-19.