Throughout Islamic history, religious reformers have emerged during periods of political upheaval and social change, calling Muslims back to faith, moral discipline and the teachings of Islam. The late eighteenth and early nineteenth centuries were such a period in the Indian subcontinent. As Mughal authority weakened, the East India Company expanded its influence, and the Sikh Empire consolidated power in the northwest, Muslim scholars and reformers sought to address the challenges facing their communities.
Among the prominent figures of this period was Syed Ahmad Shaheed (RA), a religious reformer and movement leader whose conviction in Iman and commitment to Islamic revival shaped the course of his life. He became the leading figure of the Tariqah-e-Muhammadiyah, a movement that emphasized Tawhid, adherence to the Sunnah, spiritual purification, and the establishment of an Islamic political order. Its activities eventually developed into an organized campaign involving religious preaching, political mobilization and Jihad.
Known also as Sayyid Ahmad Barelvi, he should not be confused with Ahmed Raza Khan Barelvi, the later scholar associated with the Barelvi movement. The designation Barelvi in Syed Ahmad’s name refers to his birthplace, Rae Bareli, in present-day Uttar Pradesh, India.
From his early religious training and service in the army of Amir Khan to his Hajj journey, migration to the northwestern frontier, and final campaign at Balakot, Syed Ahmad’s life reflects a significant chapter in the history of Islamic reform in South Asia. He was killed in the Battle of Balakot on 8 May 1831, alongside several of his companions, including Shah Muhammad Ismail.
In the history of Islam in the Indian subcontinent, Syed Ahmad Shaheed Barelvi (R) stands as a figure unlike any other—
a monk by night, a warrior by day, “ruhbanul-layl wa fursanun-nahar.”
This biography explores his early life, religious ideas, the Tariqah-e-Muhammadiyah movement, major campaigns, the Battle of Balakot, and the legacy he left behind.
Syed Ahmad Shaheed Barelvi: Quick Facts
| Full Name | Syed Ahmad ibn Syed Muhammad Irfan |
|---|---|
| Commonly Known As | Syed Ahmad Shaheed Barelvi (also spelled Sayyid Ahmad Barelvi) |
| Birth | 6 Safar 1201 AH / November 1786 CE |
| Birthplace | Rae Bareli, Awadh, present-day Uttar Pradesh, India |
| Father | Syed Muhammad Irfan |
| Religious Affiliation | Sunni Islam |
| Jurisprudential Tradition | Associated with the Hanafi school of Islamic jurisprudence |
| Sufi Affiliation | Naqshbandi-Mujaddidi tradition; accounts also mention connections with other Sufi orders |
| Principal Teacher and Spiritual Guide | Shah Abdul Aziz Dehlawi |
| Key Associate | Shah Ismail Dehlawi and Mawlana Abdul Hayy |
| Intellectual Legacy | Influenced by the reformist scholarly tradition of Shah Waliullah Dehlawi |
| Military Experience | Served in the army of Nawab Amir Khan for approximately seven years (c. 1811–1817) |
| Hajj Journey | 1821–1824 CE |
| Reform Movement | Tariqah-i Muhammadiya (also known as the Muhammadi Movement) |
| Departure for the North-Western Frontier | 1826 CE |
| Principal Military Opponent | The Sikh Empire |
| Notable Battles | Battle of Akora Khattak (1826) and Battle of Balakot (1831) |
| Death | 6 May 1831 CE / 1246 AH (date disputed in some historical accounts) |
| Place of Death | Balakot, present-day Khyber Pakhtunkhwa, Pakistan |
| Historical Significance | An influential nineteenth-century Indian Muslim religious reformer, Sufi figure, and leader of an armed movement |
Historical Background: Muslim India in the Late Eighteenth and Early Nineteenth Centuries

The Early Influence of Islam in the Subcontinent
Islam’s presence in the Indian subcontinent dates back to the early centuries of Islamic history. Muslim merchants established commercial and religious connections with coastal regions, particularly along the Malabar Coast of southwestern India, through maritime trade across the Arabian Sea. These early contacts helped Muslim communities develop in the region before the establishment of Muslim political rule in northern India.
An important milestone came in the early eighth century, when Muhammad ibn Qasim, a general serving under the Umayyad Caliphate, led a military campaign in Sindh in 711–712 CE. His conquest established an early and lasting centre of Muslim political authority in the region. However, the spread of Islam across the wider subcontinent was a gradual process involving trade, migration, scholarship, religious outreach and political developments.
Over subsequent centuries, Muslim merchants, scholars and Sufi shaykhs contributed to the growth of Muslim communities in different parts of the subcontinent. Among the influential Sufi figures was Khwaja Muinuddin Chishti, whose Chishti tradition became an important part of South Asian Islamic religious life. Other scholars and Sufi networks also helped shape Islamic learning, spiritual practices and religious communities.
A major change in northern India’s political landscape occurred during the late twelfth century, when Sultan Muhammad Ghuri’s military campaigns helped establish the foundations of lasting Muslim rule in parts of the region. Following his death in 1206, Qutb al-Din Aibak established the Delhi Sultanate. Successive dynasties, including the Mamluks, Khaljis, Tughluqs, Sayyids and Lodis, governed substantial parts of northern India before the establishment of the Mughal Empire in 1526.
The history of Islam in the subcontinent was therefore shaped by several interconnected forces. Muslim rulers and political institutions influenced its development, while merchants, scholars, Sufi shaykhs and local Muslim communities contributed through trade, education, religious outreach and social interaction. It was within this long and diverse history that later reformers, including Syed Ahmad Shahid, emerged.
Earlier Islamic Reform and Scholarship in the Subcontinent

The intellectual background of later Islamic reform movements in the Indian subcontinent was shaped by several influential scholars who emphasized religious learning, adherence to the Qur’an and Sunnah, and the relationship between spiritual practice and Islamic law.
Among these figures was Imam Ahmad Sirhindi (RA), a sixteenth- and seventeenth-century Naqshbandi scholar and Sufi known by the title Mujaddid Alf-e-Thani (Reviver of the Second Millennium). During the reigns of Akbar and Jahangir, he challenged religious ideas and practices that he considered inconsistent with Islamic teachings. He particularly emphasized the importance of grounding Tasawwuf in the Qur’an and Sunnah and maintaining the authority of Shariah in spiritual life.
Another important scholar of this period was Shaykh Abdul Haq Muhaddith Dehlawi (RA), renowned for his contributions to Hadith scholarship. Through his writings, teaching, and study of Prophetic traditions, he helped strengthen the tradition of Hadith learning in the Indian subcontinent.
More than a century later, Shah Waliullah Dehlawi (RA) emerged as one of the most influential Muslim scholars of eighteenth-century India. His scholarship addressed Qur’anic interpretation, Hadith, jurisprudence, spirituality, and the social and political challenges facing Muslim society.
One of his important contributions was Fath al-Rahman, his Persian translation of the Qur’an, which sought to make its meaning more accessible to Persian-reading Muslims. His sons, Shah Rafiuddin and Shah Abdul Qadir, later produced Urdu translations, extending access to Qur’anic meaning among Urdu-speaking readers.
His renowned work, Hujjat Allah al Baligha, explored the wisdom, purposes and underlying principles of Islamic teachings. He also advocated a thoughtful engagement with the Qur’an and Hadith, comparative jurisprudence and the relationship between spiritual purification and the outward practice of Islam.
Shah Waliullah’s scholarship became an important intellectual reference for later Muslim reformers in the subcontinent. His influence, together with the wider tradition of Islamic scholarship associated with earlier scholars, forms part of the intellectual background to the religious reform movements that emerged in the eighteenth and nineteenth centuries.
Dawn of a New Struggle: Political Changes in the Indian Subcontinent
The political landscape of the Indian subcontinent changed considerably after the death of Mughal emperor Aurangzeb in 1707. The central authority of the Mughal Empire gradually weakened, while regional powers asserted their independence and European trading companies expanded their political and military influence.
The English East India Company, which had initially entered the subcontinent as a commercial enterprise, gradually transformed into a major political and military power. Its victories at the Battle of Plassey in 1757 and the Battle of Buxar in 1764 marked important turning points in the expansion of British control. By the early nineteenth century, the Company had established authority over substantial territories in the subcontinent.
Meanwhile, the Maratha Confederacy emerged as a powerful political and military force. Its expansion brought it into repeated conflict with the Mughal Empire and other regional powers. In 1760, Maratha forces under Sadashivrao Bhau captured Delhi, demonstrating the declining authority of the Mughal court.
The following year, the Third Battle of Panipat (14 January 1761) brought the Marathas into a decisive confrontation with the Afghan ruler Ahmad Shah Abdali. Abdali’s forces defeated the Maratha army, although the Marathas continued to remain an influential political power in subsequent decades.
In the northwest, Maharaja Ranjit Singh consolidated the Sikh Empire, bringing Punjab and several surrounding territories under his authority. His expansion altered the political balance of the region and brought territories previously governed by Muslim rulers under Sikh administration. Relations between the Sikh state and Muslim communities varied across regions and periods, involving both political cooperation and serious conflicts.
These developments formed part of a wider period of political fragmentation and competition. The decline of Mughal authority did not mean the disappearance of Muslim communities or institutions, but it significantly changed the political circumstances in which Muslims across the subcontinent lived.
Learn more about “The Decline of the Mughal Empire“
Shah Waliullah and the Intellectual Response to Political Change
The political challenges of the eighteenth century were accompanied by growing concern among Muslim scholars about religious education, social conditions and the future of Muslim society.
One of the most influential scholars of this period was Shah Waliullah Dehlawi (RA). He emphasized the importance of the Qur’an, Hadith, religious learning and the reform of Muslim society. His scholarship addressed not only individual religious practice but also the social, economic and political challenges facing the Muslim community.
Shah Waliullah was also concerned about the growing political instability of northern India. During the period of Maratha expansion, he corresponded with Ahmad Shah Abdali, urging him to intervene in the political crisis. Abdali’s campaign culminated in the Third Battle of Panipat in 1761, where his forces defeated the Marathas.
Shah Waliullah’s sons, particularly Shah Abdul Aziz Dehlawi, continued important aspects of his scholarly and religious legacy. Shah Abdul Aziz became an influential scholar in Delhi, teaching Islamic sciences and addressing the changing political and religious circumstances of his time.
The intellectual tradition associated with Shah Waliullah and his family later influenced several reformist scholars and movements in the Indian subcontinent. It formed an important part of the religious and scholarly environment in which Syed Ahmad Shahid would eventually emerge.
Resistance to British Expansion: Hyder Ali and Tipu Sultan

The expansion of the East India Company also encountered determined resistance from regional rulers. Among the most prominent opponents of British power were Hyder Ali and his son, Tipu Sultan, the rulers of Mysore.
Hyder Ali strengthened Mysore’s military and administrative position and fought several wars against the East India Company. After he died in 1782, his son Tipu Sultan continued the struggle, becoming one of the most prominent rulers to resist British expansion in southern India.
Tipu Sultan pursued military, diplomatic, and administrative measures to protect Mysore’s independence. Despite his efforts, he was defeated and killed during the Fourth Anglo-Mysore War in 1799, when British-led forces captured his capital, Seringapatam.
The resistance of Hyder Ali and Tipu Sultan was an important chapter in the history of opposition to British expansion. Their struggle, however, was primarily rooted in the political and military interests of the Mysore state and should not be described simply as a unified movement representing all Muslims of the subcontinent.
By the beginning of the nineteenth century, British power had expanded considerably. The East India Company captured Delhi in 1803, although the Mughal emperor continued to hold nominal authority until the events of 1857. The political influence of the Mughal dynasty had by then become largely symbolic.
Indian Muslims in a Period of Political and Religious Change
The late eighteenth and early nineteenth centuries, corresponding to the early decades of the thirteenth Hijri century, were marked by significant political and social changes in the Indian subcontinent.
The weakening of Mughal authority, the expansion of the East India Company, and the rise of regional powers created new challenges for Muslim political institutions. In some territories, Muslim ruling families lost their authority, while Muslim scholars and communities had to adapt to changing political circumstances.
These changes affected different regions and communities in different ways. Muslims did not experience a single uniform condition of decline, nor did the weakening of Muslim dynasties mean that Islamic religious and scholarly life had disappeared. Mosques, madrasas, Sufi institutions and networks of religious scholars continued to play important roles in many parts of the subcontinent.
Nevertheless, some Muslim scholars expressed concern about religious observance, social divisions and practices they considered inconsistent with Islamic teachings. They emphasized the need for religious education, adherence to the Qur’an and Sunnah, spiritual purification and the reform of Muslim society.
It was within this wider environment of political uncertainty and religious debate that the reformist movement associated with Syed Ahmad Shahid developed.
The Religious and Political Motivations of Syed Ahmad Shahid
Syed Ahmad Shahid Barelvi (RA) emerged from the scholarly and spiritual environment shaped by earlier reformist figures, particularly Shah Waliullah Dehlawi and Shah Abdul Aziz Dehlawi.
His concerns extended beyond the decline of Muslim political authority. He emphasized the reform of religious practices, the strengthening of Tawhid, adherence to the Sunnah, and the establishment of a community organized around his understanding of Islamic teachings.
His letters and the historical accounts of his movement indicate an awareness of expanding foreign political domination and the importance of resisting it. His religious and political objectives eventually developed into an organized movement involving preaching, spiritual instruction, political mobilization, and armed struggle.
In 1826, Syyid Ahmad Shahid Barelvi and a large group of followers migrated from British-controlled India towards the northwestern frontier. Their objectives included establishing a base for their movement and pursuing their religious and political programme.
However, the frontier region was politically complex. The movement encountered resistance from Sikh authorities as well as disagreements and conflicts with local political leaders and communities. These developments shaped the direction of Syed Ahmad’s campaign and ultimately led to the events surrounding the Battle of Balakot in 1831.
Understanding this background is essential to understanding Syed Ahmad Shahid’s life. His movement emerged not from a single political event, but from the intersection of religious reform, changing political authority, and competing visions for the future of Muslim society in nineteenth-century South Asia.
Introduction to Syed Ahmad Shaheed Barelvi

Syed Ahmad Shaheed Barelvi (RA), also known as Sayyid Ahmad Shahid, was born in 1786 CE in Rae Bareli, in present-day Uttar Pradesh, India. He came from a respected Muslim family known for its religious background and Syed lineage.
Traditional biographical accounts trace his ancestry to Hasan ibn Ali (RA), the grandson of Prophet Muhammad ﷺ. The Encyclopaedia of Islam describes him as the thirty-sixth direct descendant of Hasan ibn Ali. Such genealogical details are part of the traditional accounts of his family history and should be understood in that context.
Family Background and Ancestral Heritage
Syed Ahmad’s family had connections with religious learning and Sufi traditions. Some traditional biographies associate his ancestry with earlier religious figures, including Sayyid Qutbuddin and Sayyid Alam Allah. These accounts preserve important details of the family’s remembered history, although individual genealogical relationships and stories about ancestral contributions require careful source verification.
His family background provided the historical and religious setting of his early life. However, his later influence as a religious reformer and movement leader developed through his own education, spiritual training, preaching, and organizational activities.
Birth and Early Life
Syed Ahmad was born in Rae Bareli in 1201 AH (1786 CE). His father was Sayyid Muhammad Irfan. Some biographical accounts give his birth date as 6 Safar 1201 AH, corresponding to 28 or 29 November 1786, depending on the Gregorian date conversion used.
He spent his early years in Rae Bareli, where he received his initial education. Later, he travelled to Lucknow in search of employment before proceeding to Delhi, where he entered the scholarly and spiritual environment of Shah Abdul Aziz Dehlawi.
📖 Read More: Shah Abdul Aziz Dehlvi: Biography, Fatwa, Tafsir & Islamic Revival
The Significance of His Family Heritage
Syed Ahmad’s Syed lineage formed an important part of his traditional biographical identity. Nevertheless, his historical significance rests not simply on his ancestry but also on his religious scholarship, spiritual leadership, reformist activities, and the movement that developed around him.
His journey from Rae Bareli to Delhi and later to the northwestern frontier marked the beginning of a life that would become a significant chapter in nineteenth-century South Asian Muslim history.
Syed Ahmad Shaheed Barelvi’s Childhood and Early Life

Syed Ahmad Shaheed Barelvi (1786–1831) spent his early childhood in Rae Bareli, in present-day Uttar Pradesh, India. He was raised in a family with a strong religious background, and his early upbringing included religious education and physical activities.
Early Education and Upbringing
According to Abul Hasan Ali Nadwi’s Life Sketch of Syed Ahmad Shaheed, Ahmad began his education in a maktab at the age of four years, four months, and four days. This account reflects the importance his family placed on religious instruction from an early age.
Nadwi also describes his childhood interest in physical activities and military games, known as sipahi-gari. Ahmad reportedly divided his playmates into opposing groups and engaged them in mock military exercises, games, and wrestling. These activities suggest an early interest in physical competition and military-style play, although they should not be confused with the formation of a formal organisation or a developed military movement.
The Death of His Father and Journey to Lucknow
According to Nadwi, Ahmad’s father, Maulana Muhammad Irfan, died when Ahmad was twelve years old. The family’s circumstances required him to take responsibility for helping support the household and seek a means of livelihood.
Nadwi recounts that Ahmad travelled from Rae Bareli to Lucknow with seven relatives in search of employment. He gives the distance as approximately 78 kilometres. The group had only one mount, which they shared during the journey. However, Ahmad reportedly encouraged his companions to ride when it was his turn and preferred to walk.
Nadwi further relates that Ahmad looked after his companions throughout the journey. After reaching Lucknow, the group encountered considerable difficulty finding employment. Despite their efforts, work was scarce, and they often had to manage with modest meals.
During this period, Ahmad stayed with a nobleman who respected his family. According to Nadwi’s account, Ahmad would share the better food provided by his host with his companions and remain content with simpler meals himself. This anecdote is presented in the traditional biography as an example of his consideration for those travelling with him.
The Foundations of His Later Development
These accounts of Ahmad’s childhood and early youth offer a glimpse into his family circumstances, education and personal experiences. His father’s death and the subsequent search for livelihood brought him into contact with the practical difficulties of life at a young age.
His later religious and military leadership, however, developed through further education, spiritual guidance and experience. His subsequent studies in Delhi and association with Shah Abdul Aziz Dehlawi marked important stages in that development.
Journey to Delhi and Training under the Scholars

After his stay in Lucknow, Syed Ahmad Shaheed Barelvi (RA) travelled to Delhi, an important centre of Islamic scholarship in northern India. There, he sought the guidance of Shah Abdul Aziz Dehlawi (RA), the eldest son of the renowned scholar Shah Waliullah Dehlawi (RA).
According to Abul Hasan Ali Nadwi‘s Life Sketch of Syed Ahmad Shaheed, Shah Abdul Aziz welcomed Ahmad and referred him to his younger brother, Shah Abdul Qadir Dehlawi (RA), for further instruction.
Religious Education and Spiritual Training
Ahmad received religious instruction and spiritual guidance from members of Shah Waliullah’s scholarly family. Traditional biographical accounts describe his progress in spiritual training and report that he received authorization as a khalifa, allowing him to guide others in the spiritual path.
Encyclopaedia Iranica records that Shah Abdul Aziz initiated Ahmad into Sufism during his time in Delhi, around 1807–08. Some biographical accounts also associate his initiation with the Chishti, Qadiri and Naqshbandi traditions.
Although Ahmad acquired a sound understanding of Islamic teachings and knowledge of Arabic and Persian, he should not be portrayed as having completed the advanced formal scholarly training of a specialist alim. His later influence developed particularly through his spiritual leadership, religious preaching and practical activities.
Military Service under Amir Khan (1811–1817)

In 1811, after returning to Delhi, Syed Ahmad Shaheed Barelvi (RA) joined the army of Nawab Amir Khan at the recommendation of Shah Abdul Aziz Dehlawi (RA). According to Abul Hasan Ali Nadwi’s Life Sketch of Syed Ahmad Shaheed, Ahmad sought practical military experience to prepare himself for the jihad that he regarded as an important purpose of his life.
Amir Khan was a prominent Afghan military commander whose forces operated in Malwa and Rajasthan. His military activities took place amid the shifting alliances, regional conflicts, and expanding influence of the British East India Company in central India.
Military Experience and Religious Preaching
According to Nadwi, Ahmad served in Amir Khan’s army for six years. During this period, he continued his prayers and religious preaching alongside his military responsibilities.
Nadwi describes his religious activities as having a significant influence on the army camp, which he portrays as becoming a centre of Islamic preaching and instruction. He also reports that Ahmad’s religious guidance influenced the soldiers and even Amir Khan himself.
Thus, Ahmad’s service under Amir Khan was not limited to military experience. It also provided an opportunity for him to continue his religious activities among soldiers while becoming familiar with military organisation and warfare.
Opposition to Amir Khan’s Agreement with the British
In 1817, Amir Khan reached an agreement with the British East India Company and accepted the State of Tonk. According to Nadwi, Ahmad opposed this settlement. Following the agreement, he left Amir Khan’s service and returned to Delhi.
This period marked an important stage in Ahmad’s development. His experience in military service, combined with his religious and spiritual background, later became relevant to the movement he established in northwestern India.
Tariqah-i Muhammadiyah Movement: Religious Reform and Political Resistance

The Tariqah-i Muhammadiyah was a nineteenth-century Islamic reform movement associated with Syed Ahmad Shaheed Barelvi (RA), Shah Muhammad Ismail Dehlawi, and Maulana Abdul Hayy. Its ideas developed during the 1810s, with the movement’s organised preaching activities becoming prominent around 1818. Influenced by the intellectual and religious legacy of Shah Waliullah Dehlawi, it sought to strengthen Muslim religious life through adherence to the Qur’an and Sunnah, the affirmation of Tawhid (the oneness of Allah), and opposition to practices its scholars considered inconsistent with Islamic teachings.
The movement developed through religious instruction, public preaching and networks of followers across northern India. Delhi became an important centre of its early activities, while Syed Ahmad and his associates travelled to different towns to spread its teachings. Shah Muhammad Ismail played a particularly important role in explaining and disseminating its reformist ideas through his writings and sermons.
Core Principles and Reform Programme
The movement’s religious and social programme focused on several important principles:
- Tawhid: Emphasising the absolute oneness of Allah and challenging beliefs and practices that its leaders considered contrary to Islamic monotheism.
- Adherence to the Sunnah: Encouraging Muslims to follow the teachings and practices of Prophet Muhammad (peace be upon him) in worship and everyday life.
- Religious Reform: Opposing certain forms of saint veneration, shrine-related practices, and popular religious customs that its scholars regarded as shirk (polytheism) or bid‘ah (religious innovation). However, the movement did not reject Sufism as a whole; Syed Ahmad himself had received Sufi training and maintained a spiritual following.
- Social Reform: Encouraging Islamic practices that had become discouraged by prevailing social customs, including widow remarriage. Syed Ahmad’s own marriage to his deceased brother’s widow is cited in historical accounts as an example of his position on this issue.
- Jihad and Political Resistance: Combining religious reform with a campaign against political domination in the northwestern frontier. The movement’s political and military activities later brought it into conflict with Sikh forces and local Pashtun chiefs.
Learn more about the “Tariqah-e-Muhammadiyah Movement from here.
Return to Delhi and Expansion of the Da’wah Mission
After serving in the army of Amir Khan for approximately six to seven years, Syed Ahmad Shaheed Barelvi (RA) left military service and returned to Delhi in 1817. According to Abul Hasan Ali Nadwi’s Life Sketch of Syed Ahmad Shaheed, Ahmad disagreed with Amir Khan’s decision to reach an agreement with the British East India Company and accept the principality of Tonk. Following this settlement, Ahmad left the army and returned to Delhi.

Back in Delhi, Syed Ahmad increasingly devoted himself to religious instruction and preaching. Two prominent scholars associated with Shah Waliullah’s family, Shah Muhammad Ismail Dehlawi and Maulana Abdul Hayy, became his disciples through bay‘ah (a pledge of spiritual allegiance). Their association strengthened his religious activities and helped attract other scholars, Sufis, and ordinary Muslims to his circle.
Preaching Tours and Religious Reform
With Shah Muhammad Ismail and Maulana Abdul Hayy among his principal companions, Syed Ahmad undertook preaching tours across northern India. According to Nadwi, these journeys included Muzaffarnagar, Saharanpur, Rampur, Bareilly and Shahjahanpur, as well as other areas around Delhi.
During these visits, the group delivered religious sermons, encouraged adherence to the Qur’an and Sunnah, and challenged practices they considered inconsistent with Islamic teachings. Nadwi reports that many people joined Syed Ahmad’s circle through bay‘ah. He also mentions Haji Abdul Rahim, a prominent religious figure who reportedly came with thousands of disciples to join the movement.
These preaching activities helped establish a wider network of religious followers and associates. Nadwi describes the period as an important phase of religious revival, although the reported numbers and extent of religious change should be understood as accounts from his biography rather than independently verified statistics.
Return to Rae Bareli: Leadership Amid Hardship
After his preaching activities in northern India, Syed Ahmad returned to his hometown of Rae Bareli. Nadwi describes the region as experiencing famine and severe scarcity. According to his account, Ahmad had more than a hundred people to support and remained occupied with looking after their needs.
His residence reportedly became a gathering place for scholars, Sufis and followers, serving as a centre of religious instruction and spiritual guidance. Nadwi describes it as functioning as a khanqah, a place of learning and a centre where preparations for jihad were also undertaken.
During this period, Syed Ahmad visited several nearby cities and towns, including Allahabad, Benares, Kanpur and Sultanpur. Nadwi reports that people from these areas came to meet him and join his religious circle through bay‘ah, further extending his network of followers.
Expansion of Islamic Da’wah in Lucknow

Following his activities in Rae Bareli and surrounding regions, Syed Ahmad travelled to Lucknow, where he had a considerable following, particularly among the Pathans. According to Nadwi, he was accompanied by approximately 170 disciples, including Maulana Abdul Hayy and Shah Muhammad Ismail. Nawab Fakir Muhammad Khan was among the prominent supporters associated with him.
At the time, Lucknow was the capital of the Shia-ruled Awadh state under Nawab Ghazi-ud-Din Haider. Syed Ahmad and his companions stayed near Shah Pir Muhammad Mosque on the western bank of the Gomti River.
Nadwi reports that visitors began gathering at their residence, where religious instruction and preaching took place regularly. Shah Muhammad Ismail and Maulana Abdul Hayy delivered sermons, including Friday addresses, while Syed Ahmad continued meeting visitors and guiding his followers.
The preaching attracted considerable attention among residents and religious circles. Nadwi also describes concern among the local authorities over the growing influence of Syed Ahmad’s circle and the reported abandonment of certain Shia religious practices by some followers. Despite these concerns, Syed Ahmad continued his religious activities.
These accounts describe the response to his preaching as reported in traditional biographical literature. The precise number of people influenced and the extent of the resulting religious changes cannot be established from these accounts alone.
Hajj Journey and the Expansion of His Movement (1821–1824)

After his preaching activities across northern India and his visit to Lucknow, Syed Ahmad turned his attention to performing Hajj. According to Abul Hasan Ali Nadwi’s Life Sketch of Syed Ahmad Shaheed, he was concerned that insecurity along the pilgrimage routes had discouraged some Indian Muslims from undertaking Hajj. He therefore advocated the continued obligation of Hajj for those who met its requirements and encouraged Muslims to undertake the journey.
Nadwi records that Syed Ahmad departed from Rae Bareli on 2 July 1821, accompanied by approximately 400 pilgrims. His companions included prominent religious scholars, among them Shah Muhammad Ismail and Maulana Abdul Hayy. The caravan travelled through several towns before reaching Calcutta, where Syed Ahmad continued his religious preaching.
Preaching and Recruitment During the Journey
During the journey, members of the caravan delivered sermons and encouraged adherence to Islamic teachings. Nadwi reports that large numbers of people in places such as Mirzapur and Benares sought bay‘ah from Syed Ahmad and his companions. These accounts describe the expansion of his religious following along the pilgrimage route, although their numerical claims should be understood as reports from the traditional biographical literature rather than independently established statistics.
Syed Ahmad reportedly stayed in Calcutta for approximately three months. Nadwi describes a substantial increase in his following there and records that local family and community leaders encouraged their members to join his religious movement and observe the Shariah.
According to Nadwi, Syed Ahmad departed from Calcutta for the Hijaz with approximately 775 pilgrims. The caravan reached Jeddah on 16 May 1822, and he entered Makkah on 21 May 1822. These dates and figures are reported in Nadwi’s biography.
Hajj, Religious Networks, and Return to India

During his stay in the Hijaz, Syed Ahmad performed Hajj and visited Madinah. Nadwi further reports that religious figures in Makkah and Madinah, including the Imam of the Grand Mosque and the Grand Mufti of Makkah, became associated with him through bay‘ah. Such details should be attributed to the biographical account rather than treated as independently verified evidence of the extent of his influence in the Hijaz.
His pilgrimage was significant not only as the fulfilment of a religious obligation but also as an opportunity to strengthen connections among his followers and extend his religious network beyond northern India. Modern scholarship has likewise examined the Hajj journey as an important phase in the organisation and expansion of his movement.
According to Nadwi, Syed Ahmad returned to Rae Bareli on 30 April 1824. His return marked a new phase in the movement. During the following period, he devoted greater attention to organising his followers and preparing for the campaign in the northwestern frontier region. This eventually led to his departure from Rae Bareli in January 1826.
Final Preparations for the Northwestern Campaign (1824–1826)

After returning from Hajj in 1824, Syed Ahmad Shaheed began preparing for a migration from northern India to the northwestern frontier. His objective was to establish a base from which his followers could organise a campaign against the Sikh Empire, which controlled much of Punjab and had extended its authority into neighbouring frontier territories.
According to historian Ayesha Jalal, Syed Ahmad and his associates spent the following period recruiting volunteers and collecting funds for the proposed campaign. His leading followers helped spread his message, approach potential supporters and prepare people for the migration.
The Political and Religious Situation in Punjab
During this period, Maharaja Ranjit Singh’s Sikh Empire was the dominant regional power in Punjab. Its expansion brought several Muslim-ruled territories and communities under Sikh authority. Relations between the Sikh administration and Muslim populations varied across different regions, but political grievances and religious concerns contributed to opposition among sections of the Muslim population.
Syed Ahmad viewed resistance to Sikh political and military authority as a central objective of his campaign. However, the northwestern frontier was not politically united. Its territories were divided among regional rulers, tribal chiefs, and competing political interests. Securing their cooperation would therefore be essential to his plans.
Recruitment and Organisation
The movement attracted volunteers from different parts of northern India, including religious scholars, students, and other followers. His associates helped recruit men and collect financial contributions to support the proposed expedition.
These preparations culminated in January 1826, when Syed Ahmad and a selected group of Hindustani followers left Rae Bareli. Their migration marked a major transition from the earlier phase of preaching and religious reform to an organised political and military campaign in the northwestern frontier.
Hijrah from Rae Bareli: The Journey to the Northwestern Frontier (1826)

On 17 January 1826, Syed Ahmad Shaheed departed from Rae Bareli with approximately 600 selected followers, beginning his Hijrah towards the northwestern frontier. Historian Ayesha Jalal records this date and estimates that around 600 Hindustani disciples accompanied him. The migration took approximately ten months and involved a long journey through central and western India, Sindh and Baluchistan before reaching the Peshawar region.
The group consisted primarily of his followers and volunteers who intended to participate in the movement’s campaign. The journey required considerable organisation, as the caravan had to travel across different political territories and negotiate with local authorities along the way.
Route Through Central and Western India
According to Mu’in-ud-Din Ahmad Khan’s historical study of Syed Ahmad’s campaign, the caravan first travelled towards Gwalior and then proceeded to Tonk. At Gwalior, Maharaja Daulat Rao Scindia received Syed Ahmad and his companions. They subsequently continued through Ajmer, Pali and other parts of Rajputana before reaching the territories of Sindh.
At Tonk, Nawab Amir Khan, who had previously served as Syed Ahmad’s military commander, and his son Waziruddaula provided assistance to the travelling group.
The caravan’s route continued through Sindh, including Hyderabad, Pirkot and Shikarpur. Its members encountered different responses from local communities and rulers. While some people offered hospitality and several individuals pledged allegiance to Syed Ahmad, others viewed the group with suspicion.
Passage Through Sindh and Baluchistan
Syed Ahmad hoped to secure the support of the Talpur rulers of Sindh for his proposed campaign against the Sikhs. However, his efforts did not produce the political and military assistance he had sought. Although he and some of his companions received hospitality in parts of Sindh, the Talpur rulers did not commit themselves to the campaign.
The caravan subsequently travelled through parts of Baluchistan, passing through locations including Jagan, Khangarh, Bhag and Dhadar before crossing the Bolan Pass and reaching Quetta.
From Quetta, the group continued towards Kandahar and travelled through Ghazni and Kabul before reaching Peshawar around 20 November 1826.
This difficult migration demonstrated the logistical challenges involved in moving a large group of followers across several political territories. It also exposed Syed Ahmad to the complex political rivalries and competing interests that would shape the next phase of his movement.
Passage Through Afghanistan: Seeking Political and Tribal Support (1826)

After crossing Baluchistan, Syed Ahmad and his followers travelled through Kandahar, Ghazni and Kabul before proceeding towards Peshawar. At the time, the former Durrani Empire had fragmented into several competing regional powers. Members of the Barakzai family held authority in different territories, while tribal chiefs and local rulers exercised considerable influence over their respective regions.
Among the important Barakzai leaders of this period were Dost Muhammad Khan, who established his authority in Kabul in 1826, and the regional chiefs who controlled Kandahar and Peshawar. These territories were not governed by a unified administration, and political authority frequently shifted through family rivalries, territorial disputes, and military alliances.
Attempts to Secure Regional Cooperation
Syed Ahmad sought the cooperation of Muslim rulers and tribal chiefs to strengthen his proposed campaign against Sikh authority. Before and during the migration, he and his associates approached regional leaders and invited them to support the movement.
His objective was to build a broader alliance among Muslim political and tribal leaders whose territories and communities faced the expansion of Sikh power. However, these leaders had their own political interests and relationships with neighbouring powers. Their willingness to support Syed Ahmad therefore varied.
The political divisions among the regional chiefs made it difficult to establish the united military front he wanted. His journey through Afghanistan was consequently not simply a preaching tour; it was also an effort to negotiate alliances and secure support for the campaign.
Arrival in Peshawar
After travelling through Kandahar and Ghazni, Syed Ahmad’s caravan passed through Kabul and reached Peshawar in November 1826. The reception from the local ruling authorities was not as supportive as he had hoped. The regional chiefs had to consider their own political positions and their relationships with the Sikh Empire.
Recognising the difficulties of securing a stable base in Peshawar, Syed Ahmad moved towards the Yusufzai territories, where he sought support among local communities and tribal leaders.
📖 Read More: What is Tariqa-i Muhammadiya Movement
Establishing a Base in the Peshawar Valley and the First Military Engagements (1826)
After reaching the northwestern frontier, Syed Ahmad Shahid focused on establishing a base among the communities of the Peshawar valley and surrounding tribal territories. The region’s strategic position and the presence of local groups opposed to Sikh authority offered opportunities for his movement to expand.
However, the political situation remained complicated. Tribal communities had their own leadership structures, rivalries, and territorial interests. Some local chiefs supported Syed Ahmad Barelvi, while others remained cautious or opposed his growing influence.
The Encounter Near Akora
As Syed Ahmad Barelvi’s movement expanded in the frontier region, the Sikh authorities became increasingly concerned about the growing concentration of his followers. A Sikh military force confronted his supporters near Akora, close to Nowshera, in December 1826.
The encounter marked an early major military confrontation between Syed Ahmad’s followers and the Sikh forces on the northwestern frontier. Historical accounts commonly date the Battle of Akora to 20 or 21 December 1826.
This engagement opened a new phase in the movement’s history. Syed Ahmad’s campaign would increasingly involve military confrontations with Sikh forces, negotiations with local chiefs, and conflicts arising from the complicated political environment of the frontier.
Battle of Akora (20–21 December 1826)

The First Major Military Encounter with Sikh Forces
After reaching the Peshawar Valley in 1826, Syed Ahmad Shahid’s movement came into direct conflict with the Sikh Empire, which controlled much of the region under Maharaja Ranjit Singh. One of the movement’s first major military engagements took place near Akora Khattak, in present-day Khyber Pakhtunkhwa, during the night of 20–21 December 1826.
The Ultimatum to Maharaja Ranjit Singh
According to Abul Hasan Ali Nadwi’s Life Sketch of Syed Ahmad Shaheed, Syed Ahmad sent a message to Maharaja Ranjit Singh from the Nowshera area, presenting three alternatives: accept Islam, acknowledge Muslim political authority and pay jizya, or face armed conflict.
Nadwi records the message as including the following statement:
“Probably you may not have that love for liquor which we have for martyrdom.”
This wording should be understood as a quotation preserved in Nadwi’s biographical account, rather than an independently authenticated copy of the original letter. Taufiq Ahmad Nizami also discusses the reported ultimatum in his study of Muslim political activity in nineteenth-century India.
The Battle and Its Contested Outcome
The confrontation began with a night attack against Sikh forces stationed near Akora. Historical accounts differ considerably over the size of the opposing armies and the outcome of the engagement.
Abul Hasan Ali Nadwi reports that approximately 700 Mujahideen took part in the attack against a Sikh force estimated at 7,000. Taufiq Ahmad Nizami also records a substantial numerical disparity, while other accounts provide different estimates. Ayesha Jalal describes the Sikh force as approximately 10,000 and notes that the attackers initially achieved surprise.
However, the accounts disagree about what happened next. Nadwi presents the engagement as a victory for Syed Ahmad’s forces, describing the Sikh troops as retreating by dawn. In contrast, Ayesha Jalal’s account describes the initial success as short-lived: some local tribal fighters reportedly left to plunder or returned home, allowing the Sikh forces to regroup and inflict losses on the attackers. Sikh historical accounts likewise describe the defenders as repulsing the attack and forcing Syed Ahmad Barelawi’s men to withdraw.
Consequently, it would be misleading to present the battle as an undisputed, decisive victory. The available accounts support the conclusion that the movement launched a significant surprise attack, but they differ over the eventual military result and the scale of casualties.
Aftermath: Khadi Khan and the Hund Base
Despite the disputed outcome, the campaign helped Syed Ahmad Barelawi establish relationships with several local tribal leaders. One important figure was Khadi Khan, the chief of Hund, who initially supported the movement and offered assistance in establishing a base in the area.
According to Nadwi, Syed Ahmad stayed at Hund Fort for approximately three months. Ayesha Jalal also identifies Khadi Khan’s early support as significant, although she describes a later deterioration in their relationship. Disagreements over political authority and the movement’s enforcement of its interpretation of Islamic law contributed to Khadi Khan’s eventual opposition.
Khadi Khan’s later conflict with the movement should not be confused with the immediate aftermath of the Akora engagement. His eventual death occurred during a subsequent struggle over Hund, and accounts differ in their details.
The Akora engagement therefore marked an important early stage in Syed Ahmad Barelawi’s northwestern campaign. Although its precise military outcome remains contested, it brought the movement into confrontation with Sikh authority and helped shape its subsequent alliances and conflicts in the Peshawar Valley.
Raid on Hazro (1827)

An Early Operation in Sikh-Controlled Territory
Following the Battle of Akora in December 1826, Syed Ahmad Shahid Barelawi established his base at Hund, with support from local tribal leaders. Soon afterward, local supporters proposed a dawn raid on Hazro, an important commercial centre in Sikh-controlled territory across the Indus River, in the area of present-day Attock District, Pakistan.
The raid took place in early January 1827, before Sayyid Ahmad’s formal appointment as Imam and Amir. Historical accounts differ over his precise role in planning and authorizing the operation.
Planning and Leadership
According to Abul Hasan Ali Nadwi’s Life Sketch of Syed Ahmad Shaheed, Sayyid Ahmad permitted the proposed raid but did not personally participate. Other historical accounts provide a more complicated picture of his involvement.
Historian Altaf Qadir, comparing accounts in Waqai and Ghulam Rasul Mihr’s work, notes that Syed Ahmad initially hesitated but conditionally allowed the operation. Qadir also questions the later portrayal of Sayyid Ahmad as having distanced himself from the raid, pointing to a letter in which he reportedly acknowledged the operation and the substantial booty captured.
These differences make it difficult to establish his exact role beyond doubt. What is clear from the accounts is that the raid was undertaken by local tribal fighters and volunteers associated with his movement.
The Raid and Its Aftermath
The attackers initially entered Hazro and seized property. However, the operation became disorganized as some local participants concentrated on collecting and dividing the spoils rather than maintaining military coordination.
When Sikh forces counterattacked, many of the local raiders retreated across the Indus. Historical accounts describe casualties during the withdrawal, including men who reportedly drowned while crossing the river. Qandahari volunteers and some Hindustani followers helped cover the retreat, although the accounts differ over the details.
The episode exposed serious difficulties in coordinating tribal forces with volunteers from other regions. It also raised questions about discipline, the conduct of warfare, and the handling of captured property.
Significance for the Movement
The Hazro raid became an important episode in the movement’s development because it highlighted the challenges of organizing military action among local chiefs and followers with different interests.
In Nadwi’s account, the disorder surrounding the distribution of spoils prompted the scholars among the Mujahideen to emphasize the need for a central Imam and Amir to direct the campaign. Other historical interpretations question whether this explanation fully accounts for the subsequent appointment, but the raid was closely followed by the formalization of Syed Ahmad’s leadership.
Appointment as Imam and Amir (January 1827)
The Bay‘ah at Hund
After the Hazro raid, Syed Ahmad Barelvi’s followers and several local tribal leaders pledged allegiance to him, formalizing his position as Imam and Amir of the movement.
The exact date of the ceremony varies across historical accounts. Abul Hasan Ali Nadwi places it on 13 January 1827 at Hund, while Ghulam Rasul Mihr’s account, as discussed by historian Altaf Qadir, gives 11 January 1827. Rishi Singh’s historical study also records 11 January. The ceremony is therefore best dated to 11–13 January 1827, with the precise date remaining disputed.
According to Nadwi, Khadi Khan, Ashraf Khan, Fateh Khan and Bahram Khan, along with other local chiefs, pledged allegiance to Sayyid Ahmad Barelawi for the positions of Imam and Khalifa. Nadwi also reports that scholars from India accepted his Imamate.
The ceremony strengthened Syed Ahmad’s position as the central religious and political leader of the movement. His followers used titles such as Amir al-Mu’minin and Khalifa when referring to his leadership.
Religious and Administrative Organization
According to Nadwi, Syed Ahmad Barelvi subsequently issued ordinances based on Shariah and established a system in which judgments were delivered through a Darul Qaza (Islamic judicial institution). Nadwi presents these developments as part of the movement’s effort to organize religious and administrative affairs under its leadership.
However, the extent of this authority should not be overstated. The movement operated in a region where local tribal chiefs retained considerable influence, and their interests did not always align with Syed Ahmad’s objectives. Later disagreements over political authority and the enforcement of religious rules demonstrated the limitations of his control.
The appointment at Hund was therefore an important step in the institutional development of the movement. It formalized Syed Ahmad’s leadership and provided a central authority for coordinating its campaign, although it did not immediately establish a fully centralized Islamic state across the region.
Battle of Shaidu (Pirpai) (1827)

The Mujahideen’s Major Defeat in the Peshawar Valley
Following the engagements at Akora and Hazro, Syed Ahmad Shahid’s movement faced a major confrontation with the Sikh Empire in the Peshawar Valley. The resulting Battle of Shaidu took place in 1827 near Nowshera, in present-day Khyber Pakhtunkhwa, Pakistan.
Historical accounts differ over the precise date. Some sources place the engagement in March 1827, while historian Altaf Qadir argues, based on the chronology in Ghulam Rasul Mihr’s account and Sikh historical records, that it occurred on 25 February 1827. The battle is commonly known as the Battle of Shaidu or Saidu.
The Sikh forces were led in the engagement by commanders including Sardar Budh Singh Sandhanwalia, while Hari Singh Nalwa held an important senior military position in the wider Sikh campaign.
Political Tensions and the Alleged Poisoning
The Barakzai chiefs of Peshawar, including Yar Muhammad Khan, had initially cooperated with Syed Ahmad’s movement. However, tensions developed over political authority and Syed Ahmad Barelvi’s growing influence among the local tribes.
According to accounts preserved in Waqai Sayyid Ahmad Shahid and discussed by Ayesha Jalal in Partisans of Allah, Syed Ahmad became seriously ill shortly before the battle. Some accounts allege that he was poisoned by Nazar Muhammad, a cook associated with Yar Muhammad Khan, and further accuse Yar Muhammad of arranging the poisoning.
Historian Altaf Qadir examines this allegation in his study of the movement’s historiography. He notes that a letter attributed to Syed Ahmad Barelawi indicates that he had been told he might have been poisoned. However, the precise circumstances and responsibility remain uncertain. The allegation should therefore be treated as a reported historical account rather than an independent fact.
Despite his illness, Syed Ahmad Barelvi was reportedly taken to the battlefield on an elephant. According to the movement’s accounts, Shah Ismail accompanied him. Syed Ahmad, however, was too unwell to participate effectively in the fighting.
The Battle and Yar Muhammad Khan’s Withdrawal
The fighting initially involved strong attacks by Syed Ahmad’s Mujahideen and their Pashtun tribal allies against the Sikh positions. However, the situation became increasingly difficult as the opposing forces engaged in a prolonged confrontation.
A major development was Yar Muhammad Khan’s withdrawal from the campaign. Historical accounts describe an understanding between him and the Sikh commander Budh Singh Sandhanwalia. Rather than joining the battle, Yar Muhammad withdrew his forces, weakening the tribal coalition supporting Syed Ahmad.
The withdrawal contributed to confusion and reduced the strength of the Mujahideen position. The Sikh forces gained the advantage, and Syed Ahmad’s followers were defeated. Shah Ismail and other companions reportedly helped remove the seriously ill Syed Ahmad from the battlefield, while the remaining forces dispersed.
The exact number of casualties remains disputed. Ghulam Rasul Mihr reports approximately 6,000 Mujahideen killed or wounded, a figure also discussed by Ayesha Jalal. However, Altaf Qadir questions the reliability of the reported troop strengths and casualty estimates, arguing that traditional accounts substantially exaggerate the size of the tribal forces. The figure should therefore not be treated as a verified casualty count.
Aftermath and Consequences
The defeat at Shaidu was a serious setback for Syed Ahmad Barelvi’s movement. Yar Muhammad Khan’s withdrawal exposed the political divisions among the Barakzai chiefs and demonstrated the difficulty of maintaining cooperation between local tribal leaders and followers who had joined the movement from other regions.
The outcome cannot, however, be attributed solely to Yar Muhammad’s withdrawal. Altaf Qadir emphasizes that inadequate planning, weak coordination, and organizational problems also contributed to the defeat. The battle exposed the movement’s difficulty in maintaining an effective military coalition against the better-organized Sikh forces.
After the defeat, Syed Ahmad withdrew towards the Swat and Buner regions, where he continued preaching, rebuilding relationships with local communities, and reorganizing his movement. The campaign continued despite the loss at Shaidu, although the defeat weakened his position in the Peshawar Valley.
The Later Death of Yar Muhammad Khan
Yar Muhammad Khan’s withdrawal at Shaidu became a major point of criticism in accounts written by Syed Ahmad’s followers. His relationship with the movement deteriorated further in the following years.
Historical accounts report that Yar Muhammad Khan died in 1829 during subsequent fighting involving Syed Ahmad’s movement in the Peshawar region. This was a later event and should not be confused with the Battle of Shaidu.
Some devotional accounts interpret his eventual death as divine retribution for his earlier actions. Such an interpretation belongs to religious or moral commentary rather than verifiable historical narration.
The Battle of Shaidu was therefore a major turning point in Syed Ahmad’s northwestern campaign. It exposed the political divisions among his tribal allies, the limitations of his military organization, and the challenges of sustaining a unified movement in a region shaped by competing local and imperial interests.
Khar and Panjtar: Reorganising the Movement
Following the defeat at the Battle of Shaidu in 1827, Syed Ahmad Shaheed (RA) continued his activities in the northwestern frontier region. According to Abul Hasan Ali Nadwi’s Life Sketch of Syed Ahmad Shahid, he travelled through Buner, Swat, and Hazara before reaching Khar, where he stayed for approximately a year. Khar served as an important location for his activities during this period.
During this stay, Maulana Abdul Hayy, one of Syed Ahmad’s close companions and a leading religious scholar of the movement, passed away. Nadwi identifies him as the Shaikh al-Islam of the mujahidin and records his death during Syed Ahmad’s stay at Khar. His death, generally dated to 1828, was a significant loss to the movement’s religious leadership.
Panjtar subsequently became an important centre of Syed Ahmad’s activities. Located in the Khudu Khel area of present-day Buner District, it was associated with the support of the local Yusufzai chief Fateh Khan. Its strategic position provided the movement with an important base from which Syed Ahmad could maintain relations with local tribal leaders, organise his followers and pursue his political and religious objectives.
General Ventura’s Campaign against Panjtar (1828)

One of the significant military challenges to Syed Ahmad’s movement came from General Jean-Baptiste Ventura, an Italian-born European officer serving Maharaja Ranjit Singh’s Sikh army. In 1828, Sikh forces under Ventura advanced against the movement’s position at Panjtar.
According to historical accounts, the mountainous terrain favoured the mujahidin, who organised their defences in a way that made their comparatively smaller force appear stronger. Although the Sikh force had the advantage in numbers, Ventura withdrew without achieving his objective. Historian Hari Ram Gupta describes the episode as a failed attempt to overcome Syed Ahmad’s position at Panjtar.
Abul Hasan Ali Nadwi’s account describes an additional advance by Ventura towards the Sammah (also written Sammha) region. According to Nadwi, Syed Ahmad’s followers had prepared defensive positions in the surrounding hills and mountain passes, and Ventura withdrew after encountering these preparations. However, the precise sequence and details of these reported operations are not consistently established across the historical accounts.
The withdrawal from Panjtar was an important episode in the movement’s continued resistance to Sikh military pressure. It also occurred amid growing disagreements between Syed Ahmad and some local tribal chiefs over political authority and the implementation of religious regulations.
Khadi Khan’s Opposition and the Conflict at Hund (1829)
Khadi Khan, the chief of Hund, had initially supported Syed Ahmad Barelawi and offered assistance to his movement. However, their relationship gradually deteriorated. The transfer of the movement’s principal base to Panjtar, together with Syed Ahmad’s efforts to exercise greater authority over local affairs, contributed to Khadi Khan’s growing dissatisfaction.
In February 1829, a gathering at Panjtar discussed the enforcement of Islamic regulations in the territories associated with the movement. These included religious obligations such as prayer and fasting, as well as restrictions on practices including usury, wine consumption and certain customary disputes. Syed Ahmad’s efforts to establish a more centralised system of authority and collect ushr (a tithe on agricultural produce) challenged the influence of established tribal chiefs.
Khadi Khan subsequently entered into an understanding with the Sikh authorities and cooperated with General Ventura against Syed Ahmad’s position at Panjtar. His opposition became a serious internal challenge to the movement.
The conflict eventually led to an operation against Khadi Khan’s stronghold at Hund. According to Qeyamuddin Ahmad’s The Wahabi Movement in India, the confrontation took place in August 1829. Khadi Khan was defeated and killed, although the precise circumstances of his death differ among historical accounts. Ayesha Jalal, for example, describes him being shot by a mujahid before a larger armed confrontation could take place.
The death of Khadi Khan did not end the movement’s difficulties with local political leaders. Instead, it intensified tensions with his relatives and other chiefs who opposed Syed Ahmad’s growing authority. These conflicts illustrate the challenges he faced in maintaining alliances with the frontier tribes while attempting to establish a centralised religious and political administration.
The Battle of Zaida and the Defeat of Yar Muhammad Khan (September 1829)

Following the death of Khadi Khan of Hund in 1829, Syed Ahmad Shaheed (RA) turned his attention towards the Durrani forces associated with Yar Muhammad Khan, the ruler of Peshawar. Their relationship had deteriorated amid disagreements over political authority and Syed Ahmad’s growing influence in the northwestern frontier region.
According to Ayesha Jalal’s Partisans of Allah: Jihad in South Asia, Syed Ahmad’s forces targeted the Durrani camp at Topi, near Zaida, in September 1829. During the confrontation, elements of the Durrani forces reportedly collaborated with the Mujahideen. Yar Muhammad Khan was killed, and the remaining members of his force fled.
The encounter resulted in a substantial capture of military supplies and other property. Jalal records six guns, an elephant, more than sixty camels, and approximately three hundred horses among the captured booty. Hari Ram Gupta likewise records Yar Muhammad’s death, the loss of about three hundred of his men, and the capture of his camp and weapons. Although the accounts differ in some details, they identify Zaida as a significant victory for Syed Ahmad’s movement.
It is important to distinguish this confrontation from the earlier Battle of Shaidu in 1827. The opposing force at Zaida was associated with Yar Muhammad Khan and the Durrani leadership of Peshawar, not a large Sikh army under Hari Singh Nalwa. The frequently repeated figures of 30,000 Sikh troops, comparable Mujahideen numbers and 6,000 casualties are not reliably established for this battle and should not be treated as historical facts.
Developments around Hund and the Expansion into Amb
The political situation around Hund remained unsettled after Khadi Khan’s death. Abul Hasan Ali Nadwi’s Life Sketch of Syed Ahmad Shahid describes a subsequent attempt by Durrani forces to attack Hund Fort, which was reportedly defended by approximately fifty Mujahideen. According to Nadwi, the defenders repelled the attack. Since this particular episode and its precise chronology are not consistently corroborated in other accounts, the details should be understood as Nadwi’s account rather than an independently established military record.
Syed Ahmad’s attention subsequently turned towards Amb, a strategically important territory on the western bank of the Indus. Its ruler, Painda Khan, had earlier expressed support for the movement but was unwilling to allow the Mujahideen unrestricted passage through his territory towards Kashmir. This disagreement developed into a military and political confrontation.
Ayesha Jalal records that Syed Ahmad defeated Painda Khan and compelled him to surrender territory on the western bank of the Indus, while allowing him to retain control over the eastern area. This gave the movement greater access to routes leading towards Kashmir. The episode also illustrates how Syed Ahmad’s expanding political ambitions brought him into conflict with local rulers who had previously been his allies.
The Kashmir Campaign and the Battle of Phulera (1829)
After strengthening his position in the region, Syed Ahmad Barelawi sought to advance towards Kashmir, which was then under Sikh rule. Access through Amb was strategically important to this objective. He therefore dispatched an expedition under the command of his nephew, Syed Ahmad Ali, towards Phulera (also written Phulra), a locality near Mansehra in the Hazara region.
Painda Khan, concerned that the expedition could threaten his position, sought assistance from the Sikh authorities. According to Ayesha Jalal, he sent a request to Hari Singh, the Sikh commander stationed near Mansehra. Sikh forces subsequently launched a surprise attack against the Mujahideen detachment.
The resulting Battle of Phulera ended in defeat for Syed Ahmad’s forces. Syed Ahmad Ali was among those killed, along with other members of the expedition. Hari Ram Gupta also records the deaths of Syed Ahmad Ali and Mir Faiz Ali of Gorakhpur during the fighting.
The defeat disrupted Syed Ahmad’s immediate plans to advance towards Kashmir and demonstrated the difficulty of confronting the Sikh military presence in the region. It was a significant setback for the movement, particularly because of the loss of experienced followers and the commander’s nephew.
Administrative Consolidation and Religious Reforms
Following the setbacks in the campaign towards Kashmir, Syed Ahmad focused on consolidating his authority over the territories associated with his movement, extending from Panjtar towards Amb. Ayesha Jalal describes his efforts to establish an administration and enforce religious regulations in these areas.
The programme included the enforcement of Islamic obligations and restrictions on practices that Syed Ahmad Barelvi and his scholars considered contrary to Islamic law. These measures formed part of his broader effort to establish a centralised religious and political administration.
However, the implementation of these regulations created tensions with some local tribal leaders and communities, whose customary practices and established authority were challenged by the movement’s policies. The difficulties that followed show that military victories and territorial expansion did not automatically produce stable political control.
Syed Ahmad’s campaign in this period therefore involved both military confrontation and the difficult task of establishing an administrative system among communities with their own tribal leadership structures and traditions.
Battle of Mayar (1830)

The Mujahideen’s Victory over the Durrani Forces
In 1830, Sultan Muhammad Khan, the Durrani ruler of Peshawar, prepared for a decisive confrontation with Syed Ahmad Shaheed’s forces. According to Abul Hasan Ali Nadwi’s Life Sketch of Syed Ahmad Shahid, Sultan Muhammad assembled a large Durrani army and travelled towards Charsadda via Chamkani. Syed Ahmad established his camp at Toru, near the battlefield of Mayar, situated between Toru and Hoti in the Peshawar Valley.
Before the confrontation, Syed Ahmad made efforts to prevent further conflict with the Peshawar chiefs, appealing for reconciliation among the Muslims of the region. However, these efforts failed, and Sultan Muhammad Khan and his relatives resolved to fight.
Ayesha Jalal’s Partisans of Allah: Jihad in South Asia estimates that approximately 3,000 Mujahideen faced a Durrani force of around 12,000 soldiers supported by six cannons. These figures should be understood as historical estimates rather than independently verified troop counts.
According to Nadwi, heavy fighting took place at Mayar. Maulana Muhammad Ismail and Shaikh Wali Muhammad captured the Durrani artillery, forcing the opposing army to retreat from the battlefield. The Mujahideen emerged victorious, and the encounter became an important military success for Syed Ahmad’s movement.
The victory strengthened the movement’s position in the Peshawar Valley and paved the way for further negotiations with the Durrani leadership.
The Entry into Peshawar
Following the confrontation, Syed Ahmad’s forces entered Peshawar through a negotiated arrangement. Ayesha Jalal describes how Faizullah Khan Hazarkhani mediated an agreement between the two sides. Under its terms, the Mujahideen would enter the city without looting, pay for their provisions, and receive financial support from the Durrani leadership.
The agreement allowed Syed Ahmad Barelawi and his followers to establish a presence in Peshawar without immediately removing Sultan Muhammad Khan from his position. It was a political arrangement rather than an unconditional surrender of the city.
The agreement, however, did not resolve the underlying tensions between Syed Ahmad’s administration and the established tribal and political authorities. These disagreements would soon contribute to a serious uprising against the movement’s officials and supporters.
The Massacre of the Quẓāt and the Peshawar Uprising (1830)

Following the Mujahideen’s entry into Peshawar in 1830, Syed Ahmad Shahid attempted to establish an administrative system based on Islamic law. This included appointing Quẓāt (Islamic judges), muhtasibs (supervisors responsible for public conduct and aspects of market regulation), and revenue collectors. These measures challenged the authority and economic interests of established tribal leaders and other influential groups, creating growing opposition to the movement’s administration.
The Killing of Syed Ahmad’s Officials and Supporters
According to Abul Hasan Ali Nadwi’s Life Sketch of Syed Ahmad Shaheed, certain tribal chiefs and religious scholars opposed the enforcement of Shariah and the appointment of revenue officials because they feared losing their established privileges and sources of income. Nadwi specifically identifies Sultan Muhammad Khan, the Barakzai ruler of Peshawar, as a central figure in the opposition.
Nadwi reports that Sultan Muhammad Khan attempted to discredit the Mujahideen among the local population by obtaining signatures from several ulama on a fatwa declaring their beliefs unsound (fasid). He then allegedly organised a plan to kill the Quẓāt, revenue collectors and muhtasibs appointed by Syed Ahmad Barelvi.
The Organised Massacre of the Quẓāt
Nadwi describes the killings as a coordinated operation targeting Syed Ahmad’s appointed officials in Peshawar and Sammah, while Panjtar was reportedly excluded. He recounts that victims were killed ruthlessly, including some who were praying in mosques and others who attempted to defend themselves. The biography also states that appeals for mercy from religious scholars, women and non-Muslims did not stop the violence.
The account does not provide a reliable casualty total. However, it emphasises that the Mujahideen killed included experienced followers who had travelled from India and undergone extensive training.
Ayesha Jalal’s Partisans of Allah: Jihad in South Asia provides a broader historical account of the uprising. She describes a secret council among Yusufzai tribesmen that planned attacks against Syed Ahmad’s soldiers and administrative agents. According to her account, a coded signal involving a bonfire helped coordinate the attacks. Several prominent associates, including Maulvi Mazhar Ali and Faizullah Khan Hazarkhani, were killed during the violence.
Robert Nichols, in Settling the Frontier: Land, Law and Society in the Peshawar Valley, 1500–1900, also records an organised uprising against Syed Ahmad’s administration before the end of 1830. His account connects the resistance to disputes over revenue collection, changes to customary practices and the failure of the reformers to reconcile with established local power structures.
Although these accounts differ in emphasis and detail, they indicate that the uprising was driven by overlapping political, economic and religious tensions rather than a single cause. Resistance to ushr (agricultural tithe), opposition to changes in local customs, and the desire of established leaders to retain their authority all contributed to the breakdown of the movement’s local administration.
Nadwi further alleges that Fateh Khan of Panjtar secretly collaborated with Sultan Muhammad Khan in the conspiracy against the appointed officials. This allegation should be understood as part of Nadwi’s account rather than an independent fact.
The Withdrawal from Peshawar
The killings severely weakened Syed Ahmad’s administrative network and local position in the Peshawar region. Ayesha Jalal records that Yusufzai tribesmen threatened to advance against Panjtar, forcing Syed Ahmad to abandon his position in the Peshawar plains. He withdrew across the Indus River and sought refuge in Pakli, in the Hazara region.
Robert Nichols likewise records that the uprising restored the authority of established local leaders in Peshawar and the surrounding plains. The movement’s attempt to maintain an administration in the region had effectively come to an end.
The massacre and uprising marked a major turning point in Syed Ahmad’s campaign. Although he continued his movement beyond the Peshawar plains, the loss of local support, administrative personnel, and political influence made it increasingly difficult to maintain his authority in the region. His struggle subsequently continued in the northwestern frontier, culminating in the Battle of Balakot in May 1831.
The Second Emigration and the Journey Towards Kashmir (1830–1831)

The Decision to Leave Peshawar
The uprising in Peshawar and the killings of Syed Ahmad’s appointed judges, revenue collectors, and other officials in late 1830 severely weakened the movement’s administrative position in the region. Following these events, Syed Ahmad gathered religious scholars and local chiefs to discuss the situation and investigate the circumstances surrounding the killings.
According to Abul Hasan Ali Nadwi’s Life Sketch of Syed Ahmad Shaheed, Syed Ahmad concluded that continuing to remain in the region would expose his followers to further danger. He therefore decided to leave Peshawar and move towards another area where the movement could continue its activities.
Although some scholars and supporters urged him to stay, he remained determined to migrate. When people from Sammah later requested his return, he reportedly replied with the saying: “A faithful Muslim is not bitten twice from the same hole.” This saying corresponds to an authentic hadith recorded in Sahih al-Bukhari (6133).
Forgiveness of Fateh Khan of Panjtar
Despite the violence and political opposition, Syed Ahmad did not retaliate against everyone suspected of involvement in the conspiracy. Nadwi specifically reports that Fateh Khan of Panjtar had secretly supported Sultan Muhammad Khan’s plot against the appointed officials.
According to this account, Syed Ahmad forgave Fateh Khan, treated him kindly, and presented him with gifts before continuing his journey. This episode illustrates the restraint and willingness to avoid further internal conflict described in Nadwi’s traditional biography. However, Fateh Khan’s alleged involvement should be understood as an account reported by Nadwi rather than an independent fact.
Kashmir as the Intended Centre of Future Activities
After leaving the Peshawar region, Syed Ahmad turned his attention towards Kashmir. Nadwi explains that he considered Kashmir a strategically suitable location for the movement’s future activities. Its mountainous geography offered defensive advantages, while its position provided opportunities for further operations towards parts of India and connections with Muslim territories in Central Asia.
The movement’s remaining followers accompanied him on this journey. His objective was not simply to find a place of refuge, but to establish a more favourable base from which the campaign could continue.
Through Pakhli and Kaghan
The journey towards Kashmir took Syed Ahmad and his companions through the mountainous regions of Pakhli and Kaghan. Nadwi describes these areas as politically unsettled because of successive Sikh incursions and conflicts among local tribal groups. Their location along the route towards Kashmir also made them strategically important.
According to Nadwi, local inhabitants in these areas sought Syed Ahmad’s assistance amid the instability. The journey through the region involved difficult mountain routes, snow-covered terrain, and considerable logistical challenges.
Balakot: A Strategic Base for the Kashmir Campaign
Balakot occupied an important geographical position near the southern entrance to the Kaghan Valley. Surrounded by mountainous terrain and situated along the Kunhar River, it offered a naturally defensible location from which Syed Ahmad could consolidate his remaining forces and prepare for further movement towards Kashmir.
Rather than being the original destination of the migration, Balakot became an important staging point in the wider Kashmir campaign.
According to Nadwi’s Life Sketch of Syed Ahmad Shaheed, Syed Ahmad reached Balakot on 17 April 1831, after travelling through Panjtar, Rajduari, Bhogarmang and other locations. From there, he continued preparing for the movement’s next phase.
The Final Stand of Syed Ahmad Shaheed: The Battle of Balakot (1831)

In May 1831, the mountainous valley of Balakot became the site of the final major battle of Syed Ahmad Shaheed Barelvi’s frontier campaign. There, Syed Ahmad Barelawi and his followers faced the Sikh army commanded by Prince Sher Singh, son of Maharaja Ranjit Singh.
After withdrawing from the Peshawar region, Syed Ahmad had moved towards the Hazara region with the intention of advancing towards Kashmir. Balakot, situated near the southern entrance to the Kaghan Valley and surrounded by mountainous terrain, offered a strategically useful position for consolidating his remaining forces.
According to one historical account, approximately 600 followers were with Syed Ahmad at Balakot when Sher Singh’s forces approached. The exact strength of both armies remains uncertain, and the figure should not be treated as a definitive count of all the forces involved.
The Martyrdom of Syed Ahmad and Shah Ismail
On 6 May 1831, Sikh forces under Prince Sher Singh launched their attack on Balakot. According to traditional accounts, some local people guided the Sikh army towards Matikot, allowing the troops to approach the Mujahideen’s position from higher ground. The Sikh forces were substantially larger, although reliable figures for the strength of either army are unavailable.
Syed Ahmad reportedly advanced towards the attacking forces, calling out Allahu Akbar. Mawlana Abul Hasan Ali Nadwi’s biography recounts that he took cover behind a large rock and returned fire. The precise circumstances of his final moments, however, remain uncertain. Historical accounts agree that Syed Ahmad and Shah Ismail Dehlawi were killed during the battle. Shah Ismail, a grandson of Shah Waliullah and one of Syed Ahmad’s closest associates, was reportedly struck by a bullet during the fighting.
Ayesha Jalal also records that Syed Ahmad and Shah Ismail fought courageously and were struck by Sikh bullets. However, she emphasises that the precise circumstances of Syed Ahmad’s death remain uncertain because no surviving eyewitness provided a definitive account of his final moments. Historical traditions about the fate and burial of his body also differ.
The battle ended in a decisive Sikh victory. Many Mujahideen were killed, while others dispersed or survived. The available historical accounts do not establish a reliable total number of Mujahideen casualties.
Aftermath and Historical Legacy
The defeat at Balakot brought Syed Ahmad’s frontier campaign to an end as an organised military effort under his leadership. The deaths of Syed Ahmad and Shah Ismail marked a major turning point in the movement’s history, although surviving followers continued their activities in other parts of the frontier.
The treatment of Syed Ahmad’s remains has been described differently in historical traditions. Some accounts report that his body was mutilated after the battle, while a Sikh tradition cited by Ayesha Jalal says that Sher Singh treated his body respectfully before burial.
Other accounts maintain that the body was later exhumed by Nihang soldiers and thrown into the Kunhar River. Stories about the body’s possible decapitation and the separate burial of its remains also circulated. The precise circumstances remain disputed and should not be presented as conclusively established.
Despite its military defeat, the Battle of Balakot acquired lasting significance in the historical memory of South Asian Muslims. Syed Ahmad and Shah Ismail came to be remembered by their followers as martyrs, and Balakot became an important place of commemoration associated with their movement.
Historical Lessons from Balakot
- Military strength and strategy: The battle demonstrated the importance of defensive planning, reliable intelligence, and the numerical and military advantages available to a larger army.
- The consequences of internal divisions: Earlier conflicts with local tribal leaders and the loss of local support had weakened the movement before its final confrontation.
- Historical legacy: Although the campaign ended in military defeat, the memory of Syed Ahmad and Shah Ismail continued to influence later religious and reformist discussions in South Asia.
📖 Deep Dive Into: Was Syed Ahmad Shaheed Barelvi a British Agent? Historical Analysis
Contribution to Religious Reform
Sayyid Ahmad Barelvi (RA) was a prominent Islamic reformer, Sufi spiritual leader and organiser of a religious and political movement in nineteenth-century South Asia. His work combined religious instruction, spiritual discipline and an effort to establish Islamic principles in Muslim personal and public life.
His religious outlook was shaped by the teachings of Shah Abdul Aziz and the wider intellectual legacy of Shah Waliullah. Through preaching, spiritual instruction and the work of his followers, Sayyid Ahmad sought to strengthen adherence to the Qur’an and Sunnah, emphasise Tawhid and challenge practices he considered religious innovations (bid‘ah).
His reform efforts also addressed certain social and religious customs, including marriage practices, widow remarriage, the observance of Islamic greetings and particular forms of Muharram ta’ziyah. His movement attracted followers from across the Indian subcontinent, and its influence continued after his death in 1831 through the activities of his successors and other reformist scholars.
Three Dimensions of His Movement
Sayyid Ahmad’s mission brought together three closely connected areas of activity: religious reform, spiritual development and armed struggle.
- Religious Reform – His reform efforts emphasised Tawhid, adherence to the Qur’an and Sunnah, and opposition to practices he regarded as shirk and bid‘ah. His followers also promoted changes in certain social and religious customs, including widow remarriage, marriage practices, the observance of salaam and opposition to particular forms of ta’ziyah. These efforts aimed to bring Muslim religious and social life into closer conformity with Islamic teachings.
- Spiritual Development (Tariqah-i Muhammadiyah) – Sayyid Ahmad developed and led the Tariqah-i Muhammadiyah, a Sufi reform movement that placed strong emphasis on following the example of Prophet Muhammad (ﷺ), spiritual purification and religious discipline. His spiritual training was rooted in established Sufi traditions, and he initiated disciples through the prevalent Sufi orders before introducing them to his own Tariqah-i Muhammadiyah. The movement sought to connect inner spiritual development with adherence to the Qur’an and Sunnah.
- Jihad (Armed Struggle) – His movement eventually undertook an armed campaign in the northwestern frontier region, primarily against Sikh rule and forces. Its first major military encounter with Sikh forces took place at Akora Khattak on 20–21 December 1826. Further battles and political conflicts followed, culminating in the Battle of Balakot on 6 May 1831, where Sayyid Ahmad and Shah Ismail Dehlawi were killed fighting Sikh forces under Prince Sher Singh.
Colonial Representations and the “Wahhabi” Label
The religious and political movement led by Sayyid Ahmad Shahid Barelvi (RA) attracted considerable attention from British colonial observers, particularly because of its armed campaign against Sikh rule and its wider political objectives. In later decades, colonial writers increasingly associated his followers with the label “Wahhabi,” often portraying them as part of a broader network of religious and political resistance.
The label appeared in British scholarly writing soon after Sayyid Ahmad’s death. A publication in the Journal of the Asiatic Society of Bengal referred to his followers as an Indian imitation of the Arabian Wahhabis in 1832. Later, British writers and officials used the term more broadly, sometimes associating different Muslim reform movements with fears of rebellion and anti-colonial conspiracy. W. W. Hunter’s The Indian Musalmans (1871) became a notable example of this colonial interpretation.
However, describing Sayyid Ahmad’s movement simply as Wahhabi does not accurately reflect its historical background. His religious thought was deeply connected with the intellectual legacy of Shah Waliullah and the Sufi traditions of the Indian subcontinent. His followers identified themselves as Muwahhidin (those who affirm the Oneness of Allah) or Muhammadin, rather than adopting the identity imposed by colonial writers.
Modern historical scholarship has therefore questioned the use of “Wahhabi” as a comprehensive description of his movement. A more accurate understanding recognises its indigenous intellectual foundations, Sufi connections, religious reform programme and political objectives.
For a fuller explanation, see our article: Tariqah-i Muhammadiyah: Historical Background and Religious Movement.
Contributions of His Successors
Although Sayyid Ahmad Shahid Barelvi (RA) was martyred at Balakot in 1831, the religious movement associated with him continued through his companions, disciples, and later reformist scholars. Their activities helped carry aspects of his religious and spiritual teachings into different parts of the Indian subcontinent, particularly Bengal.
Among the notable figures associated with this wider legacy were Maulana Karamat Ali Jaunpuri (RA) and Sufi Nur Muhammad Niyampuri (RA). Both had connections with the Tariqah-i Muhammadiyah, although their subsequent activities and approaches developed in different directions.
Maulana Karamat Ali Jaunpuri (1800–1873) was a disciple of Sayyid Ahmad who became an influential religious scholar and reformer in Bengal. He established the Taiyuni movement, which sought to reform Muslim religious practices and strengthen adherence to Islamic teachings. His activities extended across areas including Rangpur, Noakhali, Chittagong and Assam. However, his position on British rule differed from Sayyid Ahmad’s political and military approach. Karamat Ali maintained that Muslims could practise their religion under British administration and did not support the continuation of armed jihad against the colonial government.
Sufi Nur Muhammad Niyampuri (d. 1858) was another important figure connected with Sayyid Ahmad’s movement. He participated in the campaign that culminated in the Battle of Balakot, where he was wounded but survived. He subsequently continued religious preaching and reform activities in Bengal, helping preserve aspects of the movement’s religious legacy.
These figures illustrate how the legacy of Sayyid Ahmad’s movement developed along different paths. While some followers continued its emphasis on religious revival and spiritual discipline, others adapted its teachings to different social and political circumstances.
Among these later reformers, the contribution of Maulana Karamat Ali Jaunpuri deserves particular attention for his extensive religious activities in Bengal.
A Lasting Legacy of Faith and Reform
Sayyid Ahmad Shahid Barelvi (RA) died at Balakot on 6 May 1831, but the religious and political movement he led continued to influence Muslim reformist thought in South Asia. His emphasis on Tawhid, adherence to the Qur’an and Sunnah, spiritual purification and collective religious discipline became important elements of the movement’s subsequent legacy.
His companions and later followers carried different aspects of this legacy into new regions and social circumstances. Their activities contributed to the development of several reformist traditions in the nineteenth-century Indian subcontinent, including movements that placed particular emphasis on religious education, the correction of customary practices and the revival of Islamic teachings.
The history of Sayyid Ahmad and his companions is therefore not limited to the military events at Balakot. It also forms part of the wider history of Islamic reform, Sufi spirituality and Muslim religious movements in South Asia during the nineteenth century.
May Allah have mercy on Sayyid Ahmad Shahid, Shah Ismail Dehlawi and all their companions, accept their sincere efforts and grant them Jannatul Firdaus. Ameen.
Frequently Asked Questions (FAQ)
1. Who was Syed Ahmad Shahid Barelvi?
Sayyid Ahmad Shahid Barelvi (1786–1831) was a nineteenth-century Islamic scholar, Sufi spiritual leader and religious reformer from Rae Bareli, India. He founded and led the Tariqah-i Muhammadiyah, a movement that emphasised Tawhid, adherence to the Qur’an and Sunnah, spiritual purification and the revival of Islamic principles. He also led an armed campaign against Sikh rule in the northwestern frontier region and was killed at the Battle of Balakot in 1831.
2. What was the Tariqah-i Muhammadiyah movement?
The Tariqah-i Muhammadiyah was an Islamic reform and spiritual movement led by Sayyid Ahmad Shahid Barelvi and supported by scholars such as Shah Ismail Dehlawi. It emphasised the Oneness of Allah (Tawhid), adherence to the Qur’an and Sunnah, spiritual purification, and opposition to religious practices its leaders regarded as shirk and bid‘ah. The movement also pursued political objectives and eventually engaged in armed conflict against Sikh rule in the northwestern frontier region.
3. What was the Battle of Balakot and why was it significant?
The Battle of Balakot took place on 6 May 1831 between the forces of Sayyid Ahmad Shahid and the Sikh army commanded by Prince Sher Singh, son of Maharaja Ranjit Singh. Sayyid Ahmad and Shah Ismail Dehlawi were killed during the battle, along with many of their followers. The defeat ended the movement’s organised military campaign in the Balakot region and became a significant event in the history of nineteenth-century Islamic reform movements in South Asia.
4. Did Sayyid Ahmad Barelvi fight against the British?
Sayyid Ahmad’s writings and political outlook show concern about British expansion and foreign domination in India. Although opposing British power was an important part of his broader political vision, his northwestern military campaign primarily involved fighting Sikh forces and conflicts with local frontier rulers. There is no established record of a direct battle between his forces and British troops during the Balakot campaign.
5. What were Sayyid Ahmad Barelvi’s educational contributions?
Sayyid Ahmad studied at Madrasa-i Rahimiya in Delhi under Shah Abdul Aziz, the son of Shah Waliullah Dehlawi. His intellectual outlook was influenced by the scholarly tradition of Shah Waliullah, particularly its emphasis on the Qur’an, Hadith and religious reform. Through his preaching, writings and teaching activities, Sayyid Ahmad and his companions helped spread these ideas among Muslim communities in different parts of the Indian subcontinent.
6. Was Sayyid Ahmad Shahid Barelvi a British collaborator?
There is no established historical evidence that Sayyid Ahmad collaborated with the British government. His writings indicate concern about foreign political domination and the loss of Muslim political authority. However, his actual military campaign in the northwestern frontier was directed primarily against Sikh forces, not British troops. Therefore, his political opposition to British expansion should be distinguished from the specific military conflicts in which he participated.
7. What is Sayyid Ahmad Shahid Barelvi’s historical legacy?
Sayyid Ahmad’s legacy continued through his companions, disciples, and later religious reformers. His movement influenced the development of the nineteenth-century Ahl-i Hadith tradition in South Asia. His wider intellectual and religious legacy also formed part of the broader reformist environment in which the Deobandi movement subsequently emerged, although Deoband was established as a separate institution in 1867. His influence is remembered particularly for its emphasis on Tawhid, religious reform, spiritual discipline and Islamic revival.
8. Why was Sayyid Ahmad Shahid defeated at Balakot?
The defeat at Balakot resulted from several military and strategic disadvantages. The Sikh army under Prince Sher Singh was substantially larger, and local people reportedly guided Sikh forces towards Matikot, allowing them to approach the Mujahideen’s position. Although the natural terrain initially favoured Sayyid Ahmad’s forces and they mounted a counterattack, the Sikh army renewed its assault with sustained gunfire. The Mujahideen eventually suffered heavy losses. Exact troop strengths and casualty figures remain uncertain.
9. Which madrasa did Sayyid Ahmad Shahid attend?
Sayyid Ahmad studied at Madrasa-i Rahimiya in Delhi, the renowned centre of Islamic learning established by Shah Waliullah Dehlawi. During his studies, he came under the influence of Shah Abdul Aziz, Shah Waliullah’s son and a prominent Islamic scholar.
10. Where can I read more about Sayyid Ahmad Shahid Barelvi?
For further study, the following books and scholarly works provide useful biographical and historical perspectives:
- Abul Hasan Ali Nadwi, Life Sketch of Syed Ahmad Shaheed – A traditional Islamic biography focusing on his life, religious activities and movement.
- Qeyamuddin Ahmad, The Wahhabi Movement in India – A historical study examining the movement, its development and its political context.
- Ayesha Jalal, Partisans of Allah: Jihad in South Asia – A modern academic study analysing Sayyid Ahmad’s movement and its historical significance.
- Peter Hardy, The Muslims of British India – A broader history of Muslim political and religious developments under British rule.
These works offer different perspectives and can be read together for a more comprehensive understanding of his life and historical legacy.
References
Academic and Historical Studies
- Ahmad, Quyamuddin. “Barēlvī, Aḥmad Šāhid.” Encyclopaedia Iranica, Vol. III, Fasc. 8, pp. 787–788. 1988; updated 2016. Read the biography.
- Jalal, Ayesha. Partisans of Allah: Jihad in South Asia. Harvard University Press, 2008. Particularly Chapter 3, which examines the movement’s political, religious, and military development.
- Qadir, Altaf. Sayyid Ahmad Barailvi: His Movement and Legacy from the Pukhtun Perspective. New Delhi: SAGE Publications, 2015. View bibliographic information.
- Qadir, Altaf. “Historiography of the Jihad Movement: A Critique of the Selected Portions of Muhammad Wazir Khan and Ghulam Rasul Mihr’s Works.” Journal of the Research Society of Pakistan, Vol. 53, No. 1, 2016, pp. 281–294. Read the article.
- Qadir, Altaf. “Hajj, Authority, and Jihād: The Hajj as Social Mobilisation in the Movement of Sayyid Aḥmad Baraylvī.” Hamdard Islamicus, Vol. 49, No. 2, 2026. Read the article.
- Din, Inayatullah. “Movements of Muslimness Before the Muslim League: Jihad, Aligarh, and Islamism.” In The Oxford Handbook of Islamic Reform, pp. 891–914. Oxford University Press, 2026. View the chapter.
- Nichols, Robert. Settling the Frontier: Land, Law and Society in the Peshawar Valley, 1500–1900. Oxford University Press, 2001.
- Nizami, Taufiq Ahmad. Muslim Political Thought and Activity in India During the First Half of the Nineteenth Century. 1969.
- Khan, Mu’in-ud-Din Ahmad. “Sayyid Ahmad Shahid’s Campaign against the Sikhs.” Islamic Studies, Vol. 7, No. 4, 1968, pp. 317–338.
- Gupta, Hari Ram. The Sikh Lion of Lahore, Vol. V.
Biographical and Movement Literature
- Nadwi, Abul Hasan Ali. Life Sketch of Syed Ahmad Shaheed. Translated by Qazi Abdul Hameed. Read the book (PDF).
- Ahmad, Qeyamuddin. The Wahhabi Movement in India. Calcutta, 1966.
- Ismail, Shah Muhammad, and Abdul Hayy. Sirat al-Mustaqim. A foundational work associated with the religious thought of the movement.
- Sayyid Ahmad Barailvi. Makatib-e Sayyid Ahmad Barailvi. A collection of letters attributed to Sayyid Ahmad; manuscript references are discussed in the Encyclopaedia Iranica biography.
Additional Context on Religious Reform and Later Developments
- Qureshi, M. Naeem. “Tarîkat-ı Muhammediyye.” TDV İslâm Ansiklopedisi. Read the entry.
- Riexinger, Martin. “Ahl-i Ḥadīth.” Oxford Bibliographies in Islamic Studies, 2026. Read the entry.
- Metcalf, Barbara D. “Islamic Reform and Revival in British India.” Include the complete publication details of the specific edition consulted before publication.
Source note: This biography draws on modern academic studies, historical accounts, and traditional Muslim biographical literature. Traditional accounts, particularly Nadwi’s Life Sketch, are important for understanding how the movement’s followers remembered Sayyid Ahmad and his campaigns. However, details concerning military strength, casualties, political motives, and disputed events should be read alongside independent historical research rather than treated as independent facts.