The Battle of Hunayn
Shawwal 8 AH; the last battle vs. Arabian shirk; a rout turned rally (Q 9:25–26).
Hijri Shawwal 8 AH CE 630 CE
The last battle between Islam and Arabian idolatry, fought in the valley of Hunayn in Shawwal 8 AH — a few weeks after the Conquest of Makkah. It is one of only two battles named explicitly in the Quran (with Badr — Q 9:25). A ~12,000- strong Muslim army was ambushed and routed at the outset, then rallied around the Prophet ﷺ to a decisive victory that yielded the largest ghanima of the entire seerah.
Date (Hijri / CE)
Shawwal 8 AH (630 CE). The Prophet ﷺ left Makkah on 6 Shawwal (after ~19 days there since the Conquest) and reached Hunayn on the 10th.
Background
- The tribe of Thaqif (the people of the city of Ta’if, whose idol was al-Lat) and their Bedouin cousins Hawazin — long-time rivals of the Quraysh — saw the fall of Makkah as the end of paganism, and moved to fight the Muslims and seize custody of the Ka’bah. Their motives: protect idolatry and replace the vanquished Quraysh.
- They gathered ~20,000 under the newly elected young chieftain Malik ibn Awf al-Nasri (~30). Against the counsel of the blind veteran Durayd ibn al-Sima, Malik brought the women, children and flocks to the battlefield to stiffen resolve — a fateful error.
- The Prophet ﷺ scouted them via Abdullah ibn Abi Hadrat, then raised ~12,000 — 10,000 from Madinah plus ~2,000 new Makkans, some not yet Muslim (he borrowed armour from Safwan ibn Umayya, Abu Sufyan and Hakim ibn Hizam — all repaid). For the first time a Muslim boasted, “How can we be defeated at 12,000?” — which the Prophet ﷺ rebuked.
What happened
- The ambush. Thaqif/Hawazin hid archers along the heights of a narrow pass and left a decoy contingent below. The Muslims surged in at dawn; the decoy “fled”; then volleys of arrows poured down and the main host charged. The largely-new army broke and fled en masse — exactly as Q 9:25 describes (“the earth, for all its vastness, closed in on you… then you turned back”).
- The Prophet ﷺ stands firm. He did not flee; on his mule he called out, “Come to me! I am the Messenger of Allah! I am Muhammad son of Abdullah!” and “I am the Prophet, no lie in this — I am the son [grandson] of Abd al-Muttalib!” — combining Islamic and tribal loyalty for the new converts (see Tangent below). His loud-voiced uncle al-Abbas called the tribes back name by name — the people of Ridwan first.
- The rally. The sahaba streamed back. The Prophet ﷺ threw a handful of dust toward Thaqif (“May the faces be disfigured”), Allah sent down His sakina and unseen angel-armies (Q 9:26 — Jubayr ibn Mut’im saw them as a black cloud), and the enemy — who had only “Plan A” — fled helter-skelter. Shayba ibn Uthman, who had come to kill the Prophet ﷺ in revenge, was guided to Islam on the spot.
- The pursuit produced skirmishes (including at Awtas); only four Muslims were killed but many wounded — famously, all four Rightly-Guided Caliphs (Abu Bakr, Umar, Uthman, Ali) were wounded at Hunayn. Khalid killed a woman in a skirmish → the Prophet ﷺ forbade the killing of non-combatants.
The ghanima & the captives
- The spoils were the largest in the seerah: ~6,000 captives, ~24,000 camels, ~40,000 goats, gathered at Ji’ranah. Among the captives was the Prophet’s ﷺ foster-sister Shayma bint al-Harith (proof: the bite-mark from his infancy) — freed and gifted; and, per a weaker report, his aged foster-mother Halimah (whom he seated on his own cloak).
- The Prophet ﷺ waited nearly a month at Ji’ranah for Hawazin to accept Islam and reclaim their families (as Banu al-Mustaliq once did). When they did not come, he distributed the spoils.
The distribution & the Ansar (see also The Siege of Ta'if)
- He gave record fortunes — 100 camels each — to muallafat al-qulub: Abu Sufyan, Safwan (who then converted: “he kept giving until he became the most beloved to me”), Uyaynah ibn Hisn, al-Aqra’ ibn Habis, Mu’awiya, al-Harith ibn Hisham, and ~60–70 dignitaries — keeping nothing for himself.
- The Ansar received none of the great share and some younger ones murmured. The Prophet ﷺ gathered them alone and gave one of the most moving speeches of the seerah — “If the people took one valley and the Ansar another, I would take the valley of the Ansar… Are you not content that men go home with sheep and camels, and you go home with the Messenger of Allah?” — until their beards were wet with tears.
- Hakim ibn Hizam asked thrice for more, then took the Prophet’s ﷺ warning (“this wealth is sweet and green…”) to heart and never asked anyone for anything again. The kharijite prototype Dhul-Khuwaysira appeared here — “be just!” — sparing him for Maslaha (Public Welfare) (see The Siege of Ta'if).
- Hawazin finally came, chose their families over property, and the Prophet ﷺ used gentle psychology (asking after Zuhr, freeing his own tribe’s captives first) to have the sahaba return them free. Their leader Malik ibn Awf converted and was reinstated as chief. The Prophet ﷺ then entered ihram at Ji’ranah for his third Umrah.
Tangent — is nationalism halal?
The Prophet’s ﷺ war-cry (“I am the Prophet… the son of Abd al-Muttalib”) — invoked only here, for new converts and non-Muslims who would rally to lineage — shows that ancestral or national sentiment is not inherently haram: used rightly it is fine, provided it never outranks the pride of Islam (he named his prophethood first). Safwan’s remark “better a Qurayshi rule me than a Hawazini” is the mindset he ﷺ was working with.
The Hanging Tree (Dhat Anwat)
On the march, the new convert Abu Waqid al-Laythi asked the Prophet ﷺ to make them a sacred “hanging tree” for good luck, as the pagans had. He ﷺ swore this was exactly what Bani Israil said to Musa (“make for us a god” — Q 7:138). Lessons: good-luck charms and superstition are a form of shirk; yet an act of shirk done in ignorance does not automatically make one a mushrik — a verdict for scholars, not laymen (see The Siege of Ta'if for the fuller theology).
Reliability (schema §5)
Hunayn is named in the Quran (Q 9:25–26) and its core — the rout, the Prophet’s ﷺ firmness, the dust, the sakina and angels — is well attested; the war-cry lines are in the hadith. The 20,000 / 12,000 figures follow the standard reports but Arab numbers are prone to inflation. Shayba’s narration and the Shayma/Halimah episodes are from Ibn Ishaq (the Halimah version weaker, al-Bayhaqi). The angels-as-black-cloud (Jubayr ibn Mut’im) is cited to its collection.
Lessons
- Victory comes from Allah, not from numbers or preparation (the whole point of Q 9:25) — put tawakkul in the Musabbib al-Asbab, not the sabab (see Tawakkul (Reliance on Allah), The Siege of Ta'if).
- Pride/overconfidence courts disaster; optimism (“tomorrow this is our ghanima, insha’Allah”) is sunnah.
- Deal with people by their level — fortunes for the shaky-hearted, honour for the Ansar.
Cross-references
The Siege of Ta'if · The Conquest of Makkah · Hunayn · Ta'if · Malik ibn Awf al-Nasri · Durayd ibn al-Sima · Safwan ibn Umayya · al-Abbas ibn Abd al-Muttalib (ra) · Hakim ibn Hizam (ra) · Mu'allafat al-Qulub · The Ansar (the Helpers of Madinah) · Tawakkul (Reliance on Allah) · Maslaha (Public Welfare) · Muhammad ﷺ · Seerah Timeline
Sources
- S011 — Yasir Qadhi Seerah EP 082–083 & 086. Draws on Surah al-Tawba (Q 9:25–26) with tafsir; Ibn Ishaq/Ibn Hisham, al-Waqidi (Maghazi), Ibn Sa’d (Tabaqat), al-Tabari; and Sahih Bukhari & Muslim for the war-cry, the Ansar’s speech, Hakim ibn Hizam and the kharijite prototype. Q 7:138 (Dhat Anwat).