Abu al-Hasan Ali ibn Hirzihim

أبو الحسن علي بن حرزهم

†

† Hijri date derived by computation from the Gregorian/Julian date; it may differ from the transmitted date by a day or two.

Maghreb

A celebrated Maghribi jurist who, according to al-Aydarus quoting al-Yafi'i, was obeyed and listened to, denounced the Ihya' vehemently and meant to burn its copies in the congregational mosque on a Friday, then gave up his objection after a dream and devoted himself to reading the Ihya' until he became one of the great masters; Abu al-Hasan al-Shadhili is reported to have said he died with the marks of the lashes still on his back 1 2.

Depth

At a glance

Roles
Scholar · Jurist
Counted among
Sunni
Era
The Buyid, Fatimid and Seljuk Era
Region
Maghreb

Life in time

10001100120013001400150016001700 c. c. c.
The Buyid, Fatimid and Seljuk Era · The Crusades, Ayyubids and Mamluks · The Gunpowder Empires · The Mongol and Post-Mongol Era Contemporaries: Abd al-Ghani al-Maqdisi · Abd al-Haqq al-Ishbili al-Azdi · Muwaffaq al-Din Abd al-Latif al-Baghdadi · Abd al-Mughith al-Harbi · Abd al-Mun'im ibn al-Faras al-Andalusi (Abu Muhammad, Maliki jurist)

In space

Maghreb

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

Spirituality and SufismLibraries, paper and the book

Place in the story

  • CriticTradition
  • JuristTradition

Roles are dated and sourced; the museum describes the act and attributes the judgement.

Summary

Abu al-Hasan Ali ibn Hirzihim was a Maghribi jurist whose story appears in Ta'rif al-Ahya' bi-Fada'il al-Ihya' by Abd al-Qadir al-Aydarus, quoting Abd Allah ibn As'ad al-Yafi'i, who calls him "the great shaykh and imam" and "the famous Maghribi jurist". 1 His well-known story is that of his rejection of Ihya' 'Ulum al-Din and his retraction. 1 2

The rejection of the Ihya'

Al-Yafi'i relates, as al-Aydarus quotes him, that Ibn Hirzihim denounced the Ihya' vehemently and, being "obeyed and listened to", ordered all the copies he could find gathered and intended to burn them in the congregational mosque on a Friday. 1

The dream and the retraction

According to the story, on the eve of that Friday he dreamt that he entered the mosque and saw the Prophet ﷺ there with Abu Bakr and Umar, and al-Ghazali standing before him, complaining of his opponent and handing him the book. The Prophet leafed through it page by page and approved of it, then Abu Bakr, then Umar; he ordered Ibn Hirzihim stripped and given the punishment for false accusation, and after five lashes Abu Bakr interceded, and al-Ghazali was satisfied and accepted the intercession. 1 2

The story goes on: Ibn Hirzihim woke with the marks of the lashes on his back, told his companions, repented of his objection and sought forgiveness, and suffered from the marks for a long time until another dream after which he was healed; he then devoted himself to reading the Ihya', "and God opened it to him", and he became one of the great masters of both inward and outward knowledge. 2

The chain of the story

Al-Yafi'i says, "We have related this with sound chains," and gives his chain through Shihab al-Din Ahmad ibn al-Mayliq al-Shadhili, from Yaqut al-Shadhili, from Abu al-Abbas al-Mursi, from Abu al-Hasan al-Shadhili. He states that al-Shadhili was Ibn Hirzihim's contemporary and said that Ibn Hirzihim died with the marks of the lashes on his back. 2

For young visitors

Ibn Hirzihim was a scholar of law in the Maghrib who disliked the book Ihya' and wanted to burn it. The story says he then had a dream that changed his mind, and he began to read the book and learn from it.

Notes for researchers

  • The scan reads the name both as "Hirzim" and "Hirzihim"; "Hirzihim" is used here.
  • No death year is given in the pages read, so none is recorded.

Connections

Explore the connections

Lived in
Maghreb
Critic of
Ihya' 'Ulum al-Din
Mentioned in
The burning of al-Ghazali's books in the Maghrib· Ta'rif al-Ahya' bi-Fada'il al-Ihya'

People and things also explored

Ihya' 'Ulum al-Din· Ta'rif al-Ahya' bi-Fada'il al-Ihya'· The burning of al-Ghazali's books in the Maghrib· al-Mughni 'an Haml al-Asfar fi al-Asfar· Abu Hamid al-Ghazali· علي بن يوسف بن تاشفين· Poverty (faqr) in Sufi ethics· Self-delusion (ghurur)

Sources

  1. al-Ghazali, Ihya' 'Ulum al-Din, parts 13-16 (Kitab al-Sha'b series, Cairo) , p. 779
  2. al-Ghazali, Ihya' 'Ulum al-Din, parts 13-16 (Kitab al-Sha'b series, Cairo) , p. 780
Cite this page

islam.museum contributors. “Abu al-Hasan Ali ibn Hirzihim”. islam.museum, https://islam.museum/en/person/ali-ibn-hirzihim/. CC BY-SA 4.0. Last updated 2026-11-09.

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

Ihya' 'Ulum al-Din

Al-Ghazali's work in four quarters of ten books each, on worship, habit, the destroyers and the saviours; al-Nawawi judged it could replace all Islam's books, a Maghrebi denouncer of it famously repented after a dream, Ibn al-Jawzi collected its slips in Ilam al-Ahya', and al-Iraqi sifted its hadiths in 751. In his preface al-Ghazali says he wrote it because the knowledge of the path to the hereafter had become forgotten, and that it treats the knowledge of conduct, not the knowledge of unveiling. The Encyclopaedia of Islam says he composed it in his years of retirement at Damascus and Tus, after leaving his Baghdad chair in 488/1095, and calls it his greatest work in size and importance.