Ibn al-Maghribi al-Wazir

أبو القاسم ابن المغربي الوزير

c. 1027 CE · 418 AH

Mayyafariqin

Abu al-Qasim Husayn b. Ali, Ibn al-Maghribi the vizier — fled Egypt when al-Hakim killed his father, uncle and brothers, won the patronage of Hassan b. Mufarrij al-Ta'i with his praise-poem, then served as vizier to Ahmad b. Marwan the Kurd at Mayyafariqin; a fine poet of keenest wit, he lived forty-eight years and died in 418 1.

DraftWritten with AI help from the sources it cites, and not yet read by a human editor.

Depth

At a glance

Roles
Scholar · Poet
Era
The Early Abbasid Caliphate

Life in time

9259509751000102510501075110011251150 c. c.
Abbasid Fragmentation · The Buyid, Fatimid and Seljuk Era · The Crusades, Ayyubids and Mamluks Contemporaries: Abd al-Malik Ibn Attash · Abd al-Muhsin al-Suri · Abd al-Wahhab ibn Ali al-Baghdadi · Abd Allah ibn Yusuf al-Jurjani · Abdallah ibn Yasin al-Jazuli

In space

Mayyafariqin

Map: Natural Earth, public domain · places and route from the graph

Summary

Abu'l-Qasim Husayn b. 'Ali al-Shaybi, known as Ibn al-Maghribi the vizier; when al-Hakim of Egypt killed his father, uncle and brothers he fled to Hassan b. Mufarrij al-Ta'i, praised him and was honoured — then became vizier to Ahmad b. Marwan al-Kurdi, lord of Mayyafariqin; fine poetry and several works, he lived forty-eight years and was among the craftiest and cleverest of men. 1

In al-Zirikli

Al-Zirikli (370-418 AH, 980-1027 CE) names him al-Husayn ibn Ali (may God be pleased with him) ibn al-Husayn, Abu al-Qasim al-Maghribi, a vizier, shrewd, learned and literary, of whom it is said that he descended from the Sasanian emperors, and says he was born in Egypt. 2

The Fatimid al-Hakim killed his father, and he fled to Syria in 400 AH and incited Hassan ibn al-Mufarrij al-Ta'i to rebel against al-Hakim, without success; he went to Baghdad, where the Abbasid caliph al-Qadir suspected him because he had come from Egypt, and moved on to Mosul, where he joined Qirwash ibn al-Muqallad and wrote for him before leaving him. 2

After many turns of fortune the Buyid Musharrif al-Dawla made him his vizier at Baghdad for ten months and some days; his affairs faltered, he took refuge with Qirwash, and the caliph wrote to Qirwash to remove him, which he did. 2 Abu al-Qasim then went to Ibn Marwan in Diyar Bakr and stayed at Mayyafariqin until he died; by his own bequest he was carried to Kufa and buried there. 2

His books include al-Siyasa, a printed epistle, selections from the poetry of Abu Tammam and of al-Buhturi, Mukhtasar Islah al-Mantiq on language, and Adab al-Khawass, of which the first part survives in manuscript and covers the reports of Imru' al-Qays. 2 2 Al-Zirikli adds that he was the man to whom Abu al-Ala al-Ma'arri addressed his Risalat al-Munih. 2

In Ibn Khallikan

Ibn Khallikan says that the vizier was the author of a diwan of verse and prose, of Mukhtasar Islah al-Mantiq and of Kitab al-Inas, which for all its small size is very useful and shows wide reading. 3

He quotes from a collection a note found in the hand of the vizier's father on the back of Mukhtasar Islah al-Mantiq, saying that his son was born at first dawn on Sunday 13 Dhu al-Hijja 370 AH, that he memorised the Qur'an and a number of plain books of grammar and language, and that all this was before he reached fourteen, after which he abridged that book. 4 4

He relates that when al-Hakim, ruler of Egypt, killed the vizier's father, uncle and two brothers, the vizier fled and reached al-Ramla, where he met the man who had seized the town. 5

Connections

Explore the connections

Lived in
Mayyafariqin

People and things also explored

Saladin takes Mayyafariqin· Salah al-Din's siege of Mosul and the settlement of Shahrazur in 581· Siege of Mayyafariqin (1085)· Siege of Mayyāfāriqīn· Al-Fariqi· Mu'in al-Din al-Haskafi· Abu'l-Qasim al-Husayn ibn Ali al-Maghribi· al-Malik al-Kamil of Mayyafariqin

Sources

  1. Shadharat al-Dhahab — Ibn al-Imad al-Hanbali , p. 210
  2. al-Alam — al-Zirikli , vol. 2 p. 245
  3. Wafayat al-A'yan wa-Anba' Abna' al-Zaman — Ibn Khallikan , vol. 2 p. 172
  4. Wafayat al-A'yan wa-Anba' Abna' al-Zaman — Ibn Khallikan , vol. 2 p. 173
  5. Wafayat al-A'yan wa-Anba' Abna' al-Zaman — Ibn Khallikan , vol. 2 p. 174
Cite this page

islam.museum contributors. “Ibn al-Maghribi al-Wazir”. islam.museum, https://islam.museum/en/person/ibn-al-maghribi-al-wazir/. CC BY-SA 4.0. Last updated 2026-12-02.

Improve this page on GitHub · Report an error · Help complete it · JSON

Wing

People

Prophets, companions, scholars, rulers, scientists, poets, travelers: women and men who shaped the story.
Related

Saladin takes Mayyafariqin

Saladin took Mayyafariqin and its Diyar Bakr dependencies after the Mosul truce, extending his Jaziran realm.