Ayaz (Abu al-Najm)

أياز أبو النجم

1057 CE · 449 AH† †

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

Abu al-Najm Ayaz, the favourite slave of the Ghaznavid sultan Mahmud, a Turkoman by origin. He became a symbol in Persian literature, and died in 449 AH (1057-8) 1.

Depth

At a glance

Roles
Politician
Region
Persia & Central Asia
Review
Completeness 2/5 · Help complete it

Life in time

97510001025105010751100112511501175 c. c. c.
The Buyid, Fatimid and Seljuk Era · The Crusades, Ayyubids and Mamluks Contemporaries: Abu al-Fath Abd al-Baqi al-Haddad al-Hanbali al-Faradi · Abd al-Malik Ibn Attash · Abdallah ibn Hamuwayh al-Juwayni · Abdallah ibn Yasin al-Jazuli · Abu al-Hasan al-Ibadi

At the court of Mahmud

Abu al-Najm Ayaz was the favourite slave of the Ghaznavid sultan Mahmud of Ghazna. Details of his life are hard to establish, but he was a Turkoman and, if the tradition used by Jalal al-Din Rumi is accepted, of humble origin. The Tarikh-i Bayhaqi reports that Mahmud's successor Mas'ud described Ayaz as his father's 'sneeze', and judged him unsuitable for the governorship of Ray because of his lack of experience of life outside the court. Ibn al-Athir records his death under 449/1057-8. 1

Literary afterlife

The Chahar Maqala says that Ayaz was not remarkably handsome, but had a sweet expression and an olive complexion, and was greatly skilled in the arts of pleasing; the tradition is repeated by Sa'di. In Persian literature he appears under many guises: in Sa'di's Gulistan and Bustan a symbol of true love, in the Mathnawi of Jalal al-Din Rumi a type of the perfect man, and in 'Awfi's Jawami' al-hikayat a model of loyalty and good sense. In the Chahar Maqala Mahmud cuts off Ayaz's locks in a fit of passion, and the episode serves 'Unsuri as a display of poetic skill. The Tadhkirat al-Awliya uses an attempt by Mahmud to pass Ayaz off as sultan before Shaykh Abu'l-Hasan Kharaqani as proof of that saint's sagacity. Zulali's Mahmud u Ayaz builds a romance around the relationship of the sultan and his favourite. 1

Sources

  1. Encyclopaedia of Islam, 2nd edition (Leiden: Brill, 1954–2008), 13 volumes , vol. 1 p. 829
Cite this page

islam.museum contributors. “Ayaz (Abu al-Najm)”. islam.museum, https://islam.museum/en/person/ayaz-ghaznawi/. CC BY-SA 4.0. Last updated 2026-10-26.

Improve this page on GitHub · Report an error · JSON

Wing

People

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