Ulayya bint al-Mahdi

People Words

علية بنت المهدي

c. 776 CE · 160 AH – c. 825 CE · 210 AH

Baghdad

Ulayya bint al-Mahdi (160–210 AH), Abbasid princess and sister of Harun al-Rashid, a fine poet who set her verses to music; al-Husri said she equalled many distinguished men in intelligence and speech, and Ibrahim ibn Isma'il the secretary reports that she sang only when excused from prayer. She left a diwan, and al-Ma'mun led her funeral prayer.

Depth

At a glance

Roles
Poet · musician
Era
The Early Abbasid Caliphate
Region
Levant & Iraq

Life in time

700725750775800825850875 c. c. c.
The Early Abbasid Caliphate · Abbasid Fragmentation · The Umayyad Period Contemporaries: Abu Al Hudhayl Al Allaf · Abu Hafs al-Kabir · Abu Nasr al-Tamar · Abu Ubayd al-Qasim ibn Sallam · Al-Dahhak ibn Makhlad

In space

Baghdad

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

WomenMusic and its permissibilityLiterature

Summary

Ulayya, daughter of the caliph al-Mahdi, was born in 160 AH and was, as Kahhala describes her, among the most beautiful, refined and intelligent of women, chaste and highly cultivated, a fine poet who composed good melodies for her verse. 1

The jewelled headband

Her forehead was unusually broad, so she wore bands crowned with jewels to cover it, and thereby created a fashion than which nothing finer was ever devised by women. 1 2

Faith and intelligence

Kahhala quotes Ibrahim ibn Isma'il the secretary that she was sound in religion, and sang or drank nabidh only when she was excused from prayer; once purified she turned to prayer, the Qur'an and reading books, unless the caliph summoned her to something she could not refuse. 2 Al-Husri says she equalled many distinguished men in intelligence and speech. She used to say that God forbade nothing without providing a lawful substitute for it, so what excuse has the one who disobeys him? And: "May God not forgive me any indecency I ever committed — and I say nothing idle in my verse." 2

With her brothers

Her brother Harun al-Rashid honoured her greatly and took her on his journeys; once in Khurasan she longed for Baghdad and wrote on his tent two lines about an exile weeping with longing who seeks healing from the scent of riders from his homeland, and he said, "Ulayya yearns for home," and had her sent back to Baghdad. 2 She grieved deeply at al-Rashid's death and gave up singing and nabidh, until al-Amin pressed her and she returned to them unwillingly. 3 Abu Ahmad ibn al-Rashid relates that in al-Ma'mun's assembly he heard a voice that unsettled him, and al-Ma'mun told him: that is your aunt Ulayya rehearsing with your uncle Ibrahim. 3

Death

She left a diwan well known among men of letters, and died in 210 AH; al-Ma'mun led the prayer over her. It is reported that al-Ma'mun embraced her and kissed her head while her face was covered, that she choked and coughed, fell into a fever a few days later and died. 4

For young visitors

Ulayya was an Abbasid princess of Baghdad, sister of the caliph Harun al-Rashid. She was a poet who set her poems to music, and she invented a jewelled headband that became a fashion women copied.

Research notes

  • Kahhala's reports come mostly from al-Aghani, Nuzhat al-Julasa' and Zahr al-Adab; some verses in the entry are attributed by others to Abu al-Atahiya, while Ibn al-Mu'tazz says they are Ulayya's (note on p. 344).

Connections

Explore the connections

Child of
Muhammad al-Mahdi
Sibling of
Harun al-Rashid· إبراهيم بن المهدي
Lived in
Baghdad

People and things also explored

The Aman of Samalu and its People's Transfer to Baghdad· Bayt al-Hikma — the House of Wisdom· The Building of Madinat al-Hadath· The Founding of Madinat al-Salam (Baghdad)· The Building of al-Rafiqa· The Building of Sisar· The Building of Tarsus· Establishment of the barid from the Hijaz to Iraq

Sources

  1. A'lam al-Nisa' fi Alamay al-Arab wa-al-Islam — Umar Rida Kahhala, vol. 3 (Mu'assasat al-Risala, Beirut, 5th ed. 1984) , p.338
  2. A'lam al-Nisa' fi Alamay al-Arab wa-al-Islam — Umar Rida Kahhala, vol. 3 (Mu'assasat al-Risala, Beirut, 5th ed. 1984) , p.339
  3. A'lam al-Nisa' fi Alamay al-Arab wa-al-Islam — Umar Rida Kahhala, vol. 3 (Mu'assasat al-Risala, Beirut, 5th ed. 1984) , p.344
  4. A'lam al-Nisa' fi Alamay al-Arab wa-al-Islam — Umar Rida Kahhala, vol. 3 (Mu'assasat al-Risala, Beirut, 5th ed. 1984) , p.345
Cite this page

islam.museum contributors. “Ulayya bint al-Mahdi”. islam.museum, https://islam.museum/en/person/ulayya-bint-al-mahdi/. CC BY-SA 4.0. Last updated 2026-11-04.

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

The Aman of Samalu and its People's Transfer to Baghdad

In al-Baladhuri: al-Mahdi sent his son Harun al-Rashid raiding in year 163 and he besieged the people of Damalu — which common speech calls Samalu — and they asked his aman, ten householders among them the qummis, which he granted on the condition that they not be separated, so they were settled in Baghdad at the Shammasiyya gate and named their quarter Samalu, which it is still known as; others say they came down on al-Mahdi's ruling — he spared them, gathered them at that spot and ordered it named Samalu; al-Rashid had those remaining in the fortress cried and sold, and an Abyssinian who used to curse al-Rashid and the Muslims was taken and crucified on one of its towers.