Menu

Ali Hujwiri (Data Ganj Bakhsh): Sufi Saint of Lahore

Long before famous Sufi orders like the Chishtis ever reached India, one scholar had already settled in Lahore.

He had already written Persian Sufism’s earliest formal treatise.

Data Darbar, the shrine of Ali Hujwiri, in Lahore
Data Darbar, the shrine of Ali Hujwiri (Data Ganj Bakhsh), in Lahore. Photo via Wikimedia Commons.
c. 1009 CEBorn in Ghazni, present-day Afghanistan
Settles inLahore, over a century before the Chishti order even reached India
His bookKashf al-Mahjub, the oldest surviving Persian treatise on Sufism
c. 1072 CEDies in Lahore; his shrine still draws over a million visitors each year
The Title: “Data Ganj Bakhsh” means “Bestower of Treasures,” referring to spiritual enrichment, not material wealth.

1. Before the Great Orders Arrived

1.1 Who was Ali Hujwiri?

Ali Hujwiri, also known as Data Ganj Bakhsh, was an 11th-century Sufi scholar. His fuller name was Abul Hasan Ali ibn Usman al-Jullabi al-Hujwiri. He was born around 1009 CE in Ghazni, in present-day Afghanistan. He eventually settled in Lahore, where he later died around 1072 CE. He wrote the Kashf al-Mahjub, an early and genuinely influential Persian treatise on Sufism as a whole. “Data Ganj Bakhsh” means “Bestower of Treasures.” This title refers specifically to spiritual enrichment, not material wealth of any kind.

2. Where the Title Came From

2.1 What story explains his famous title?

Tradition credits Hujwiri’s own famous title to another well-known saint entirely, not to himself. It says Khwaja Moinuddin Chishti, the founder of the Chishti order in India, once meditated at Hujwiri’s tomb in Lahore for forty days. At the end of that retreat, tradition says he broke into a Persian couplet praising Hujwiri as a perfect guide for both beginners and masters, calling him “Ganj Bakhsh,” treasure-giver.

True or False: Khwaja Moinuddin Chishti and Ali Hujwiri met in person during Hujwiri’s own lifetime.


2.2 How much of this story is actually verified?

Historians generally treat this specific couplet story as devotional legend, not verified biography of any kind. But it does capture something real. Later generations of Sufis, across many different orders, kept returning to Hujwiri’s shrine for inspiration long after his own lifetime had ended.

3. The Book and the Shrine

3.1 What makes the Kashf al-Mahjub so significant?

Kashf al-Mahjub means “Unveiling of the Hidden.” Here’s why it matters so much: it is considered the oldest surviving Persian treatise on Sufism. The book is remarkably wide-ranging. It sets out Sufi doctrine and practice, and surveys the views of different Sufi schools. It also profiles the lives of earlier Sufi masters, all within one single work. It also devotes separate chapters to specific topics, including poverty, divine love, and sama, the practice of devotional listening. Hujwiri’s classification of different Sufi groups was a pioneering effort. Later writers on Sufism drew on his framework for organising the tradition’s many strands. British orientalist Reynold A. Nicholson translated the Kashf al-Mahjub into English in 1911, opening it up to Western scholarship on Sufism for the first time.

3.2 What is Data Darbar like today?

  • His own shrine, Data Darbar in Lahore, is the largest Sufi shrine in all of South Asia.
  • The shrine still holds an annual urs, a festival marking Hujwiri’s own death anniversary. It draws over a million visitors each year, with communal prayers held throughout.
  • Large-scale free food, or langar, is also offered to all who attend, regardless of background.

Data Darbar remains an active centre of charity and spiritual life in Lahore today, not just a historical monument. Hujwiri himself is widely regarded as the patron saint of Lahore, revered across different Sufi orders and sectarian lines alike. He is credited with helping spread Islam across South Asia through his own preaching. This came well before any of the region’s later, more famous Sufi orders had even arrived.

4. He Came First

4.1 How much earlier did Hujwiri arrive than the famous Sufi orders?

Hujwiri’s own death in 1072 predates every major Sufi order later linked to India. His own travels before settling in Lahore reportedly took him across a wide swathe of the Islamic world, from Syria to Central Asia. Along the way, he met and studied under other Sufi teachers. The Chishti order’s founder in India, Khwaja Moinuddin Chishti, arrived over a century afterward. The Suhrawardi, Qadiriyya, and Naqshbandi orders reached India later still.

c. 1035-1072Hujwiri in Lahore c. 1192Moinuddin Chishti arrives 13th-14th c.Suhrawardi, Qadiriyya, Naqshbandi Hujwiri predates every major Sufi order later linked to India
Ali Hujwiri arrived in Lahore over a century before India’s better-known Sufi orders.

4.2 Why did Ghazni matter to his own formation?

This makes Hujwiri one of the very earliest Sufi figures connected to the Indian subcontinent. Ghazni itself, his birthplace, had recently become the capital of a major regional Islamic power. This gave the young Hujwiri access to a genuinely cosmopolitan centre of learning before he ever settled in Lahore. A book meant as a serious survey of Sufi doctrine went on to shape how later generations understood the tradition itself, well beyond its own time and place.

5. What the PYQs Keep Testing

5.1 What has a recent PYQ asked about Ali Hujwiri?

CAPF ACs 2026 asked candidates to match four Sufi works with their genre. Kashf-ul Mahjub, Ali Hujwiri’s own book, was correctly identified as a manual of Sufi thought, distinct from later works like conversation-records and letter-collections. Source: CAPF ACs 2026 Q28.

Try It Yourself: Why would an exam question ask candidates to match a Sufi work to its genre, rather than just its author?

Knowing an author’s name is a shallow, easily-memorised fact, but knowing what kind of work they actually wrote, a doctrinal manual versus a biography versus a letter-collection, shows a candidate understands what the text actually does. Sufi literature spans many genres, and mixing them up is a common, testable mistake. Matching genre to work forces real familiarity with the text, not just its title.
Exam Angle:

  • CAPF ACs 2026: matched four Sufi works to their genre, including Hujwiri’s own Kashf-ul Mahjub, a manual of Sufi thought.
Remember This:

  • Ali Hujwiri (Data Ganj Bakhsh), born c. 1009 in Ghazni, settled in Lahore and died there around 1072.
  • He wrote the Kashf al-Mahjub, the oldest surviving Persian treatise on Sufism.
  • His famous title, “Bestower of Treasures,” refers to spiritual enrichment, popularised by a later legend involving Khwaja Moinuddin Chishti.
  • His shrine, Data Darbar, is South Asia’s largest Sufi shrine, drawing over a million visitors at its annual urs.
  • His death in 1072 predates the Chishti, Suhrawardi, Qadiriyya, and Naqshbandi orders’ arrival in India by a century or more.
Explain It Back: In your own words, explain why the Moinuddin Chishti legend about Hujwiri’s title couldn’t have been a real meeting between the two men.

MCQs on Ali Hujwiri

Try 8 practice questions on his life, his book, and his place in Sufi history.

Question 1 of 1

What is the name of Ali Hujwiri’s influential Persian treatise on Sufism?

Question 1 of 1

What does the title “Data Ganj Bakhsh” refer to?

Question 1 of 1

Ali Hujwiri is also widely known by which title?

Question 1 of 1

In which city is Ali Hujwiri’s shrine, Data Darbar, located?

Question 1 of 1

Ali Hujwiri’s death in 1072 CE predates the Indian arrival of which Sufi order’s founder?

Question 1 of 1

Besides Sufi doctrine and practice, what else does the Kashf al-Mahjub cover, making it a remarkably wide-ranging work?

Question 1 of 1

What made Hujwiri’s treatment of different Sufi groups within the Kashf al-Mahjub a pioneering effort?

Question 1 of 1

Roughly how many visitors does the annual urs festival at Data Darbar, marking Hujwiri’s death anniversary, draw today?

0 / 0 correct
Related Topics

Was this helpful?

Beyond the answer

    Leave a Reply

    [privacy-do-not-sell-link]

    Discover more from MCQ Questions

    Subscribe now to keep reading and get access to the full archive.

    Continue reading

    ✨Ask doubt
    ✨ Ask a Question AI×
    [privacy-do-not-sell-link]