The Battle of Hunayn

غزوة حنين

c. 630 CE · Shawwal 8 AH

Wadi Hunayn → Mecca → Ta'if

A battle in a valley near Mecca against the tribes of Hawazin and Thaqif, shortly after the conquest of Mecca. The Muslims were ambushed in the valley's gorges and fell back at first; the Prophet ﷺ stood firm and they rallied, as the sira tradition records. The Encyclopaedia of Islam puts the Muslim force at twelve thousand and the Muslim dead at about twelve, and notes that the accounts of the battle differ by school.

Depth

At a glance

Era
The Prophetic Era
Region
Arabia

In time

620630640 c.
The Prophetic Era · The Rashidun Caliphate

In space

Wadi HunaynMeccaTa'if

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

Battles

Sides

Muslims of Medina and Mecca

The early Muslim community

Commanders: Muhammad

Hawazin and Thaqif

Hawazin · Thaqif

Commanders: Malik ibn Awf al-Nasri

Reading levelRead it in the Kids' Wing

In year 8 of the Hijra the Muslims set out from Mecca with a large army, and in the valley of Hunayn between Mecca and Ta'if they met the armies of the tribes Hawazin and Thaqif. The enemy's ambush worked at first, but the Prophet ﷺ stood firm and called the Muslims back, and they returned and won. From the spoils of this battle the Prophet gave gifts to many people to soften their hearts.

The battle of Hunayn was fought in Shawwal of year 8 AH (January 630 CE) in the valley of Hunayn between Mecca and al-Ta'if. Malik ibn Awf al-Nasri gathered the tribes Hawazin and Thaqif and brought their wealth and women so they would fight to the end. The Muslims, twelve thousand strong, came down into the valley at dawn, and the tribes lay in ambush in the passes and shot at them with arrows; the Muslim cavalry broke in the early morning. The Prophet stood firm with a group of Companions and called the people to him, and the Muslims returned and fought until they won. The captives and spoils were gathered at al-Ji'rana, and the Prophet ﷺ divided them and gave gifts to reconcile hearts; the sira recalls that a verse was revealed about this day.

Storytellers (10–12) read the Explorers text, then cross to the Scholars text.

The battle of Hunayn was one of the major engagements after the conquest of Mecca, fought in Shawwal of year 8 AH (January 630 CE) in the valley of Hunayn between Mecca and al-Ta'if. Malik ibn Awf al-Nasri rallied Hawazin and Thaqif and mustered their property, women and children so the fight would be decisive; the sira books record his saying that they would not be defeated with their wealth and families at stake. The Muslim army numbered twelve thousand after two thousand Meccans joined, and sources relate that some were impressed by their own numbers. Descending into the valley before dawn, the Muslims were ambushed in its narrows; the cavalry collapsed under the arrows and the line broke. The Prophet stood firm with al-Abbas, Abu Sufyan ibn al-Harith (may God be pleased with him) and a group of Companions, and al-Abbas called out to the men of the tree and of the pledge, and the Muslims rallied around him until the polytheists fled, leaving wealth and captives. Spoils and prisoners were gathered at al-Ji'rana; the Hawazin delegation accepted Islam and their kin were returned, and the Prophet ﷺ gave shares of the spoils to reconcile hearts. The sira records that the Qur'an spoke of this day, and historians count Hunayn the last great battle between the Prophet and the great Hijazi tribes.

Summary

A major battle fought in Shawwal 8 AH (January 630 CE) in Wadi Hunayn, between Mecca and al-Ta'if. The Muslim army of twelve thousand fighters faced the combined tribes of Hawazin and Thaqif under Malik ibn Awf al-Nasri 1. The polytheists lay in ambush, and the Muslims' cavalry broke at first light. Then the Prophet and a few of his Companions stood firm, the Muslims rallied, and they won 2.

Muster and preparation

Malik ibn Awf gathered Hawazin and Thaqif and brought their fighters' property, women and children with them so that they would not flee 3. The experienced horseman Durayd ibn al-Simma objected at Awtas: "Does anything turn back one who has fled? If the day is yours, only a man with his sword will avail you; if it goes against you, you will be disgraced before your families" 4.

When the Prophet learned of their gathering, he sent Abdullah ibn Abi Hadrad al-Aslami as a scout to bring him their news 5. The Prophet borrowed a hundred coats of mail with their gear from Safwan ibn Umayya as a guaranteed loan. He set out with twelve thousand fighters and appointed Attab ibn Asid over Mecca 6.

The ambush and the Prophet's stand

The Muslims went down into Wadi Hunayn in the grey of dawn. The battalions of Hawazin surprised them with a volley of arrows from the gullies and narrow passes of the valley, and the horsemen and the people turned back in flight 7.

The Prophet withdrew to the right on his white mule, with a small band that included Ali, al-Abbas, Usama ibn Zayd (may God be pleased with him) and Ayman ibn Ubayd. He called out: "I am the Prophet, no lie; I am the son of Abd al-Muttalib" 8. He ordered al-Abbas to call out in his loud voice: "O people of the acacia tree! O people of the chapter of al-Baqara!" and the Muslims hurried back 9.

Close combat and victory

The two armies closed and the fighting grew fierce. The Prophet said: "Now the oven is heated," then threw pebbles at the faces of the polytheists, saying: "May the faces be disfigured." Hawazin and Thaqif were routed 10. Thaqif fled to al-Ta'if under Qarib ibn al-Aswad, Hawazin withdrew to Awtas, and the Muslims seized their property and captives 11.

Along the road and the captives

The Prophet left Mecca on Saturday 6 Shawwal 8 AH with twelve thousand: ten thousand who had taken Mecca and two thousand of its people. He borrowed a hundred coats of mail with their gear from Safwan ibn Umayya (may God be pleased with him) 12. On the road the army passed a tree called Dhat Anwat, and the well-known story of Dhat Anwat took place. Anas ibn Abi Marthad al-Ghanawi volunteered to keep watch that night 13.

Some of the army, seeing how large it was, said: "We will not be defeated today for lack of numbers." This displeased the Prophet 13. When the Muslims were first routed, Abu Sufyan ibn Harb, who was recently converted, said that their rout would not end before the sea. Jabala or Kalda ibn al-Junayd cried out: "Sorcery has been undone today" 13.

There were six thousand captives, among them al-Shayma bint al-Harith al-Sa'diyya, the Prophet's foster-sister. She made herself known to him, he honoured her, spread out his cloak for her and sent her back to her people 14. The spoils were held at al-Ji'rana: twenty-four thousand camels, more than forty thousand sheep and four thousand uqiyya of silver. Mas'ud ibn Amr al-Ghifari was put in charge of them 14.

Significance and legislation

The battle set down important principles. It broke the last armed polytheist gathering in the Hijaz. In it the Prophet forbade killing women, children and the 'usafa' (hired labourers) 15. Qur'anic guidance came down drawing the lesson of pride in numbers, in سورة التوبة 25–26.

The Encyclopaedia of Islam account of the battle

The sections above follow the Muslim tradition of the sira. This section and the next summarise the article on Hunayn in the Encyclopaedia of Islam, a scholarly reference work, which gives an academic reconstruction and says plainly where the sources differ.

The article describes Hunayn as a deep, irregular valley with clusters of palm trees, a day's journey from Mecca on one of the roads to al-Ta'if, and as the scene of the battle that is the second one named in the Qur'an. It dates the fighting to early Shawwal 8/630, soon after the conquest of Mecca. 16

In its account the confederate tribe of Hawazin, with its subsection Thakif, began to mobilise soon after the Prophet left Medina, apparently hoping to attack the Muslim force holding Mecca. Each side kept spies in the other's camp. About a fortnight after the conquest, Muhammad marched against Hawazin with twelve thousand men. The confederate commander, Malik ibn Awf al-Nasri, brought flocks along with the army, and the venerable poet and warrior Durayd ibn al-Simma, who died in the battle, protested strongly at their presence. 16

On leaving the oasis of Hunayn the road enters winding gorges that suit an ambush, and there Malik waited. The Muslims hardly suspected an enemy, since they thought him encamped at Awtas. Surprised by a sudden charge of Bedouin cavalry, they fell back in disarray. 16

The article stresses that from this point the course of the fighting is hard to reconstruct, because the accounts of the Muhajirun, the Ansar, the Hashimids and the Shi'is differ. It judges that the Prophet, on his grey mule, was cut off for a time with few attendants and in grave danger. The Muslim tradition recorded above speaks of a white mule, so the two descriptions are given here side by side without a ruling. According to the article the Muslims then abandoned mounts they could not control, rallied and attacked, while the enemy, hemmed into a congested and narrow front, could not exploit his first success. It suggests that Khalid ibn al-Walid, who commanded the Muslim cavalry, may deserve the credit for turning the tide, and notes that the Ansar, in the Medinese school's accounts, claim it for themselves. 16

Within a few hours the enemy was routed. The article offers as evidence the small Muslim losses, about twelve killed, the vast number of captives, including about six thousand women and children, and booty of over twenty-four thousand camels. Some of the fleeing Bedouin were pursued to Awtas, and others took refuge behind the walls of al-Ta'if, which Muhammad then besieged. 16

Hawazin and Thaqif in the Encyclopaedia of Islam

The Encyclopaedia of Islam describes Hawazin as a large North Arabian group of tribes that properly includes Amir ibn Sa'sa'a and Thakif. Before Islam it was bitterly hostile to Quraysh, with which it had fought the wars of the Fijar; the article sees the underlying cause in the trade rivalry between Mecca and al-Ta'if, whose people, Thakif, were either part of Hawazin or closely allied to it. 17 Al-Ta'if later came under the section of Thakif known as the Ahlaf, meaning allies. 18

On the Prophet's relations with the tribe, the article says that a small section of Sa'd ibn Bakr, the tribe of his wet-nurse, became Muslim early, while others fought against him at Hunayn. It reports that, as he settled the affairs of Mecca, he heard that Malik ibn Awf was massing Hawazin and Thakif a day or two's march away, and that about two thousand Meccans joined him despite the old enmity between Quraysh and Hawazin. After the battle Thakif took refuge in al-Ta'if, while Hawazin was routed and lost all its possessions. 18

The article notes that Muhammad then treated Malik very generously, restoring his wife and children, giving him camels and recognising him as chief of Hawazin. Malik later helped him against his former allies of Thakif. In the wars after the Prophet's death, the article says, Hawazin is reported to have suspended payment of the alms-tax to Medina but did not take up arms against Abu Bakr, which it attributes to the consideration shown to the tribe after its defeat. 18

The article on Thakif adds that before Islam the tribe controlled the walled town of al-Ta'if and was divided into the less prestigious Ahlaf and the Malik, and that at Hunayn each subdivision fought under its own banner. 19 It calls Thakif one of the staunchest Arabian tribes in opposition to Muhammad. After his unsuccessful siege of al-Ta'if in 8/630, which Qurashis supported because they feared a Thakafi takeover of their estates near the town, he changed tactics and set against Thakif their Bedouin allies under Malik ibn Awf, who blockaded the town. A Thakif delegation then came to Medina to negotiate conversion and won significant concessions for the tribe. The article reads the outcome as establishing the supremacy of Quraysh over Thakif. 19

For young visitors

The Muslims went out with a large army, and the enemy surprised them with an ambush in the valley early in the morning, so some of them fell back. But the Prophet stood firm and called to his Companions bravely; they came back and won. Afterwards he forgave many of those who had fought him.

Ali at Hunayn: Al-Sallabi's account

Ali stood firm with the Prophet at Hunayn, together with those of the Muhajirun and the Ansar who stood firm with him. In the army of Hawazin there was a man on a red camel holding a black banner. When he reached someone he thrust with his spear, and when he missed someone he raised his spear for those behind him, and they followed him 20. Ali saw that this man had an effect on Hawazin's zeal, so he set out toward him with a man of the Ansar until the two of them brought him down from his camel and killed him. They fled, and the Muslims were victorious 20.

Notes for researchers

  • The book does not name the man on the red camel at this point, so no name is recorded here; the book refers the report to the Musnad of Abu Ya'la.

From Sheikh Omar Abdelkafy's lecture series Al Dinu Al Qayem

The speaker says Hunayn was the battle in which the Muslims outnumbered the enemy and were nonetheless defeated. He gives the figures as about twelve thousand Muslims and four thousand of the enemy 21.

He says the Muslims fought about twenty-eight expeditions in the Prophet's lifetime and were defeated only at the start of Hunayn 22. The speaker's view (opinion): the tide turned when the Muslims understood "there is no god but God". This is his reading of the event, not a historical report 23.

He recounts that the army fled from around the Prophet at Hunayn, and sets this beside the archers at Uhud who left the gap that Khalid ibn al-Walid (may God be pleased with him) then entered 24.

He says Abu Sufyan had noble conduct before Islam, and that Islam added to it: on the day of Hunayn a word of his steadied the people 25.

He returns to the sizes of the armies: about twelve thousand Muslims, of whom ten thousand were from Medina at the conquest of Mecca, against about four thousand of Hawazin 26.

Al-Sallabi's analysis: causes of defeat and factors of victory

In his Sira, Ali Muhammad al-Sallabi devotes a section to the causes of the defeat in the first round and the factors of victory — his own analysis 27. Among the causes of defeat he lists: a pride in their numbers that crept into some Muslims, so that one said "we shall not be beaten today for want of numbers"; young men going out without adequate weapons; the polytheists numbering more than twice the Muslims; Malik ibn Awf reaching Hunayn first and placing ambushes and archers in the narrows of the valley; and recent converts from Mecca in the army who fled and threw the ranks into disorder 27. Among the factors of victory he lists: the Prophet's steadfastness and his advance on his mule towards the enemy while al-Abbas held its bridle; the few who stood firm around him; the quick return of those who had fled; the enemy's mistake in not pursuing the routed; the throw of pebbles; the appeal to God for help; and the descent of angels as the Qur'an records 28. Al-Sallabi holds that the battle was recorded in the Qur'an to remain a lesson, connecting it with al-Tawba 25–27 29.

Your choice is kept in this browser only.

Connections

Explore the connections

Had participant
al-Abbas ibn Abd al-Muttalib· Abbas ibn Mirdas al-Sulami· Abdullah ibn Abi Hadrad al-Aslami· Abdullah ibn al-Zubayr ibn Abd al-Muttalib· Abu Sufyan ibn Harb· Abu Waqid al-Laythi· al-Aqra' ibn Habis al-Tamimi· al-Shayma bint al-Harith al-Sa'diyya· Anas ibn Abi Marthad al-Ghanawi· Ayman ibn Ubayd· Durayd ibn al-Simma· Hakim ibn Hizam· Haritha ibn al-Nu'man· Huwaytib ibn Abd al-Uzza· Ka'b ibn Malik al-Ansari· Khalid ibn al-Walid· Malik ibn Awf al-Nasri· Qarib ibn al-Aswad· Safwan ibn Umayya· Shayba ibn Uthman al-Hajabi· Subay' Dhu al-Khimar· Suraqa ibn al-Harith· Uyayna ibn Hisn al-Fazari· Ya'la ibn Umayya· Yazid ibn Zam'a· Banu Jusham· Banu Nasr· Hawazin· Thaqif· Muhammad· Abu Sufyan ibn al-Harith· Usama ibn Zayd· Attab ibn Usayd
Occurred at
Wadi Hunayn· Mecca· Ta'if
Part of
The Prophetic Era
Caused by
The Conquest of Mecca (Fath Makka)
Basis for
Guaranteed loan (ariya madmuna)· Prohibition of killing women, children and non-combatant labourers in war
Mentions
The Angels of Aid· Angels in Islam (mala'ika)
Has part
The distribution of Hunayn spoils at al-Ji'rana· The expedition to Awtas· The Hawazin delegation and the amnesty of captives· The Dhat Anwat incident· The Prophet's speech to the Ansar at al-Ji'rana· Abbas ibn Mirdas's ode on the Battle of Hunayn· Ka'b ibn Malik's ode on Hunayn and the march to Ta'if
Led to
The siege of Ta'if
Mentioned in
Abbas ibn Mirdas's ode on the Battle of Hunayn· Hassan ibn Thabit's poem enumerating the Ansar's campaigns with the Prophet· Bukhari 4330 — The Ansar are the inner garment, the people the outer· Battle of Hunayn — the steadfast hundred and the household
Subject of
The Biography of the Messenger of God 2026, episode 3: The Birth of the Prophet· The Biography of the Messenger of God 2026, episode 10: The first women emigrants and the women who came early to Islam· The Prophetic Biography for Reformers, episode 20: The Battle of Uhud· The Prophetic Biography for Reformers, episode 21: The Effects of Uhud· The Prophetic Biography for Reformers, episode 23: The Battle of the Trench· The Prophetic Biography for Reformers, episode 26: The Treaty of Hudaybiyya· The Prophetic Biography for Reformers, episode 32: The Last Session: Hunayn, Tabuk and the Farewell Pilgrimage· Al-Din al-Qayyim (programme)· The Prophet's campaigns (al-ghazawat)· Mudhakkirat Iblis (Memoirs of Iblis) programme· Sharh Sahih al-Bukhari (Explanation of Sahih al-Bukhari) programme· The Battle of Hunayn in the Life of the Final Messenger
Revealed in
Qur'an 9:25· Qur'an 9:26
Related to
The Angels of Aid

People and things also explored

The Prophetic Biography for Reformers, episode 32: The Last Session: Hunayn, Tabuk and the Farewell Pilgrimage· The Companions· Muhammad· The Conquest of Mecca (Fath Makka)· Mecca· The Battle of Badr· Quraysh· Sharh Sahih al-Bukhari (Explanation of Sahih al-Bukhari) programme

Sources

  1. al-Sira al-Nabawiyya — Ibn Hisham, al-Saqqa edition (1355/1936) , 4/80-84
  2. al-Sira al-Nabawiyya — Ibn Hisham, al-Saqqa edition (1355/1936) , 4/85-89
  3. al-Sira al-Nabawiyya — Ibn Hisham, al-Saqqa edition (1355/1936) , 4/80-81
  4. al-Sira al-Nabawiyya — Ibn Hisham, al-Saqqa edition (1355/1936) , 4/81
  5. al-Sira al-Nabawiyya — Ibn Hisham, al-Saqqa edition (1355/1936) , 4/83
  6. al-Sira al-Nabawiyya — Ibn Hisham, al-Saqqa edition (1355/1936) , 4/84
  7. al-Sira al-Nabawiyya — Ibn Hisham, al-Saqqa edition (1355/1936) , 4/85-86
  8. al-Sira al-Nabawiyya — Ibn Hisham, al-Saqqa edition (1355/1936) , 4/87-88
  9. al-Sira al-Nabawiyya — Ibn Hisham, al-Saqqa edition (1355/1936) , 4/88-89
  10. al-Sira al-Nabawiyya — Ibn Hisham, al-Saqqa edition (1355/1936) , 4/89
  11. al-Sira al-Nabawiyya — Ibn Hisham, al-Saqqa edition (1355/1936) , 4/90-93
  12. al-Raheeq al-Makhtum — Safi al-Rahman al-Mubarakpuri , p.276
  13. al-Raheeq al-Makhtum — Safi al-Rahman al-Mubarakpuri , p.277
  14. al-Raheeq al-Makhtum — Safi al-Rahman al-Mubarakpuri , p.278
  15. al-Sira al-Nabawiyya — Ibn Hisham, al-Saqqa edition (1355/1936) , 4/95-96
  16. Encyclopaedia of Islam, 2nd edition (Leiden: Brill, 1954–2008), 13 volumes , vol. 3 p. 610
  17. Encyclopaedia of Islam, 2nd edition (Leiden: Brill, 1954–2008), 13 volumes , vol. 3 p. 305
  18. Encyclopaedia of Islam, 2nd edition (Leiden: Brill, 1954–2008), 13 volumes , vol. 3 p. 306
  19. Encyclopaedia of Islam, 2nd edition (Leiden: Brill, 1954–2008), 13 volumes , vol. 10 p. 457
  20. Asma al-Matalib fi Sirat Ali ibn Abi Talib, vol. 1 — Ali Muhammad al-Sallabi , p.109
  21. Assabile archive of Omar Abdelkafy's lectures (audio and video) , Al Dinu Al Qayem, episode 2, at 00:24:30 · Listen at the archive (opens the audio at this time)
  22. Assabile archive of Omar Abdelkafy's lectures (audio and video) , Al Dinu Al Qayem, episode 10, at 00:30:30 · Listen at the archive (opens the audio at this time)
  23. Assabile archive of Omar Abdelkafy's lectures (audio and video) , Al Dinu Al Qayem, episode 10, at 00:31:00 · Listen at the archive (opens the audio at this time)
  24. Assabile archive of Omar Abdelkafy's lectures (audio and video) , Al Dinu Al Qayem, episode 11, at 00:45:30 · Listen at the archive (opens the audio at this time)
  25. Assabile archive of Omar Abdelkafy's lectures (audio and video) , Al Dinu Al Qayem, episode 3, at 00:46:30 · Listen at the archive (opens the audio at this time)
  26. Assabile archive of Omar Abdelkafy's lectures (audio and video) , Al Dinu Al Qayem, episode 13, at 01:15:30 · Listen at the archive (opens the audio at this time)
  27. al-Sirah al-Nabawiyyah — Ali Muhammad al-Sallabi , p.795
  28. al-Sirah al-Nabawiyyah — Ali Muhammad al-Sallabi , p.795-796
  29. al-Sirah al-Nabawiyyah — Ali Muhammad al-Sallabi , p.794
  • Ibn Ishaq / Guillaume, The Life of Muhammad (1955)
  • Watt, Muhammad at Medina (1956)
  • Lings, Muhammad (1983)
  • Sahih Muslim
  • Sahih al-Bukhari
Cite this page

islam.museum contributors. “The Battle of Hunayn”. islam.museum, https://islam.museum/en/event/battle-of-hunayn/. CC BY-SA 4.0. Last updated 2026-11-22.

Improve this page on GitHub · Report an error · Help complete it · JSON

Wing

Time

Eras, timelines, this day in history, any year in the Islamic world.
Related

The Prophetic Biography for Reformers, episode 32: The Last Session: Hunayn, Tabuk and the Farewell Pilgrimage

Ahmed Elsayed covers the last stretch of the biography: the march to Hunayn and the flight and rally there, Awtas and the siege of Ta'if, the distribution of the spoils at al-Ji'rana and the Prophet's address to the Ansar, the year of the delegations, the expedition to Tabuk with the three who stayed behind, the declaration at the pilgrimage of year 9, the Prophet's farewell pilgrimage and sermon, and his final illness. He draws lessons for reformers on measuring truth by power, winning hearts, remembering one's past service, the sincerity of intention and the completion of the message. He leaves the account of the Prophet's death untold.