Ayn al-Qudat al-Hamadhani

عين القضاة الهمذاني

1131 CE · 525 AH

Hamadan

Abu al-Ma'ali Abd Allah ibn Muhammad ibn Ali ibn al-Hasan, Ayn al-Qudat al-Hamadhani al-Miyanji, theologian and poet, scholar of Shafi'i law and student of al-Ghazali, proverbial for his intelligence and deep in Sufism; he was crucified at Hamadan in 525 AH (1131 CE), and later authors differ on the reason. 1

Depth

At a glance

Roles
theologian · Jurist · mystic · Poet
Era
The Buyid, Fatimid and Seljuk Era
Region
Persia & Central Asia

Life in time

102510501075110011251150117512001225 c. c. c.
The Buyid, Fatimid and Seljuk Era · The Crusades, Ayyubids and Mamluks · The Mongol and Post-Mongol Era Contemporaries: Abd al-Ghafir al-Farisi · Abd al-Mughith al-Harbi · Abd al-Mu'min ibn Ali al-Qumi · Abd al-Qadir al-Jilani · Abd al-Rahman al-Hulwani

In space

Hamadan

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

Overview

Abd Allah ibn Muhammad ibn Ali ibn al-Hasan, Abu al-Ma'ali, called Ayn al-Qudat al-Hamadhani al-Miyanji, was a theologian (mutakallim) and poet, a scholar of Shafi'i jurisprudence and a student of al-Ghazali, from Hamadan. He was proverbial for his intelligence, went deeply into Sufism, and was crucified at Hamadan in 525 AH (1131 CE). The sources differ in how they judge the reason for his execution. 1

Name and nisba

Al-Zirikli names him Abd Allah ibn Muhammad ibn Ali ibn al-Hasan, Abu al-Ma'ali, Ayn al-Qudat al-Hamadhani. 1 He was from Hamadan, and the nisba al-Miyanji refers to Miyana, pronounced with a kasra on the first letter and sometimes with a fatha, a village of Azerbaijan. 1

Learning and Sufism

Al-Zirikli calls him a theologian and poet, a scholar of Shafi'i law and one of al-Ghazali's students, and says his intelligence was proverbial. He entered the finer points of Sufism and took up the allusions of the Sufis, so that people believed in him and sought blessing through him. 1

Writings

Among his books is Zubdat al-Haqa'iq, which is printed and which al-Zirikli names among the books for which he was punished. He also wrote Madar al-'Uyub on Sufism and al-Risala al-Yamaniyya. 1

His execution and what scholars said of it

Al-Zirikli quotes Ibn Qadi Shuhba that he wrote books in the manner of the philosophers and the Batiniyya, was taken in chains to Baghdad and imprisoned, then returned to Hamadan and crucified there. 1 The judgments reported are attributed to each author, as al-Zirikli gives them:

  • Al-Dhahabi said he was crucified over words of unbelief (kufr).
  • Al-Subki said an ugly phrase was picked out of his writings, one the ear recoils from, so he was imprisoned and then crucified unjustly.
  • Yaqut said his enemies conspired against him and he was put to death while bound. 1

Ibn al-Imad's Shadharat al-Dhahab likewise says he was crucified at Hamadan over those words of unbelief in 525 AH. 2

Death

Al-Zirikli dates his death to 525 AH, equal to 1131 CE, the same year that the Shadharat gives. 1 2

Career

These posts have no recorded dates, so they are listed here in words.

Connections

Explore the connections

Died in
Hamadan
Studied under
Abu Hamid al-Ghazali

People and things also explored

Abu al-Hayja sent against Hamadan· al-Ghazali's arrival in Damascus as an ascetic, in 488· Death of al-Ghazali at Tus· al-Ghazali leaves Baghdad· al-Ghazali becomes chief professor at the Nizamiyya in Baghdad· The burning of al-Ghazali's books in the Maghrib· Conquest of Hamadan and Waj Rudh (22 AH)· Death and burial of al-Ghazali at al-Tabaran

Sources

  1. al-Alam — al-Zirikli , vol. 4 p. 123
  2. Shadharat al-Dhahab — Ibn al-Imad al-Hanbali , p. 555
Cite this page

islam.museum contributors. “Ayn al-Qudat al-Hamadhani”. islam.museum, https://islam.museum/en/person/ayn-al-qudat-al-hamadhani/. CC BY-SA 4.0. Last updated 2026-12-03.

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

Abu al-Hayja sent against Hamadan

Al-Nasir sent the amir Abu al-Hayja to Hamadan and took it with its Jibal; when Khwarazmshah Tekish overran the country the vizier received him with honor and turned him back.