Sūrah 8 · Medinan

How Sūrah Al-Anfaal was revealed.

Where and when it came down, what it teaches, and the hadith about it — all on one calm page.

Where revealed Medinan

Revealed in the Madīnan period, after the migration to Madīnah.

Order of revelation #88

Its place in the traditional order in which the sūrahs were revealed.

Length 75 ayahs

10 reading sections in the Muṣḥaf.

The revelation story

How and when it came down.

This surah serves as a comprehensive review of the Battle of Badr. It establishes the legal rulings for the spoils of war and commands the believers to maintain unity and obey Allah and His Messenger. It recounts the events of the battle, highlighting divine support, establishing the ethics of combat and treaties, and distinguishing between the true believers, the disbelievers, and the hypocrites.

Themes and purpose:

This surah serves as a comprehensive review of the Battle of Badr. It establishes the legal rulings for the spoils of war and commands the believers to maintain unity and obey Allah and His Messenger. It recounts the events of the battle, highlighting divine support, establishing the ethics of combat and treaties, and distinguishing between the true believers, the disbelievers, and the hypocrites.

Context of Revelation:

Era: Madinan by unanimous agreement of the narrators. Its revelation began in the month of Ramadan in the 2nd year AH, immediately following the Battle of Badr. Ayah no. 66 was likely revealed later in Madinah, after the main body of the surah.

Context: The revelation began at Badr itself, before the Muslims had departed or divided the spoils, specifically to address the dispute that arose among the companions regarding the distribution of the spoils.

Order: The stronger view is that it was the second surah to be revealed in Madinah, after Sūrat al-Baqarah began to descend, and before Sūrat Āl ʿImrān. In the well-known chronological list, however, it has been counted as the 89th surah in the order of revelation, after Sūrat Āl ʿImrān and before Sūrat al-Aḥzāb.

Name and Ayah Count:

Name: "Sūrat al-Anfāl" (The Spoils of War). It has been known by this name since the time of the Companions. It opens with a specific question about the spoils and details the legal rulings concerning them.

Other Name: Ibn ʿAbbās also described it as "Sūrat Badr," as narrated by Saʿīd ibn Jubayr, because it details the events of that battle.

Ayah Count: 75 (Kūfan), 76 (Madīnah/Makkah/Baṣrah), or 77 (Shām).

Surah Overview:

  • Clarifying the rulings of spoils, their division, and their recipients. [1, 41]
  • Commanding fear of Allah and obedience to Him and His Messenger regarding spoils and other matters. [1, 20, 46]
  • Ordering Muslims to rectify their internal relations, declaring this a pillar of complete faith. [1]
  • Describing the Muslims’ departure intending the caravan, their unexpected encounter with the army, the positions of the two forces at Badr, the believers' fear of the enemy's numbers, and the divine aid and gentleness shown to them. [5-14, 42-44]
  • Reminding them of Allah's favor in making them strong. [26]
  • Promising victory and guidance conditional upon steadfastness against the enemy and patience. [45-46]
  • Commanding unity and forbidding internal dispute. [46]
  • Commanding preparation for war against enemies. [60]
  • Directing that the purpose of fighting is victory of the religion, not seeking spoils or worldly gain. [39, 67, 74]
  • Reminding the Prophet (ﷺ) of Allah's protection from the plots of the polytheists in Makkah and the justification for their punishment after his departure. [30-34]
  • Calling the polytheists to desist and warning them of war. [38-39]
  • Warning against the hypocrites. [49]
  • Setting forth parables of past nations who opposed the Messengers. [52, 54]
  • Establishing laws for treaties with disbelievers, the consequences of breaking them, and when peace is appropriate. [56-58, 61]
  • Rulings concerning captives. [67-71]
  • Rulings concerning loyalty and mutual support among the Emigrants, the Helpers, and those believers who remained in Makkah after the Emigration to Madinah, and the legal consequences of these bonds of allegiance. [72-75]

Sūrah background — via the Quran Foundation Content API. Shown as supplied by the provider. We do not edit, summarise or generate it.

Hadith about this sūrah

What the hadith say.

These 15 narrations in Ṣaḥīḥ al-Bukhārī are connected to specific āyāt of this sūrah — a linkage reviewed by the Quran Foundation. Open any one to read it in full, in Arabic and English.

  1. Relates to āyah22
    Ṣaḥīḥ al-Bukhārī 4646

    حَدَّثَنَا مُحَمَّدُ بْنُ يُوسُفَ، حَدَّثَنَا وَرْقَاءُ، عَنِ ابْنِ أَبِي نَجِيحٍ، عَنْ مُجَاهِدٍ، عَنِ ابْنِ عَبَّاسٍ، ‏﴿‏إِنَّ شَرَّ الدَّوَابِّ عِنْدَ اللَّهِ الصُّمُّ الْبُكْمُ الَّذِينَ لاَ يَعْقِلُونَ‏﴾‏ قَالَ هُمْ نَفَرٌ مِنْ بَنِي عَبْدِ الدَّارِ‏.‏

    Narrated Ibn `Abbas: Regarding the Verse: "Verily! The worst of beasts in the Sight of Allah are the deaf and the dumb---- those who understand not." (8.22) (The people referred to here) were some persons from the tribe of Bani `Abd-Addar.

    Open at Sunnah.com →

  2. Relates to āyah24
    Ṣaḥīḥ al-Bukhārī 4474

    حَدَّثَنَا مُسَدَّدٌ، حَدَّثَنَا يَحْيَى، عَنْ شُعْبَةَ، قَالَ حَدَّثَنِي خُبَيْبُ بْنُ عَبْدِ الرَّحْمَنِ، عَنْ حَفْصِ بْنِ عَاصِمٍ، عَنْ أَبِي سَعِيدِ بْنِ الْمُعَلَّى، قَالَ كُنْتُ أُصَلِّي فِي الْمَسْجِدِ فَدَعَانِي رَسُولُ اللَّهِ صلى الله عليه وسلم فَلَمْ أُجِبْهُ، فَقُلْتُ يَا رَسُولَ اللَّهِ إِنِّي كُنْتُ أُصَلِّي‏.‏ فَقَالَ ‏"‏ أَلَمْ يَقُلِ اللَّهُ ‏﴿‏اسْتَجِيبُوا لِلَّهِ وَلِلرَّسُولِ إِذَا دَعَاكُمْ‏﴾‏ ثُمَّ قَالَ لِي لأُعَلِّمَنَّكَ سُورَةً هِيَ أَعْظَمُ السُّوَرِ فِي الْقُرْآنِ قَبْلَ أَنْ تَخْرُجَ مِنَ الْمَسْجِدِ ‏"‏‏.‏ ثُمَّ أَخَذَ بِيَدِي، فَلَمَّا أَرَادَ أَنْ يَخْرُجَ قُلْتُ لَهُ أَلَمْ تَقُلْ ‏"‏ لأُعَلِّمَنَّكَ سُورَةً هِيَ أَعْظَمُ سُورَةٍ فِي الْقُرْآنِ ‏"‏‏.‏ قَالَ ‏"‏ ‏﴿‏الْحَمْدُ لِلَّهِ رَبِّ الْعَالَمِينَ‏﴾‏ هِيَ السَّبْعُ الْمَثَانِي وَالْقُرْآنُ الْعَظِيمُ الَّذِي أُوتِيتُهُ ‏"‏‏.‏

    Narrated Abu Sa`id bin Al-Mu'alla: While I was praying in the Mosque, Allah's Messenger (ﷺ) called me but I did not respond to him. Later I said, "O Allah's Messenger! I was praying." He said, "Didn't Allah say'--"Give your response to Allah (by obeying Him) and to His Apostle when he calls you." (8.24) He then said to me, "I will teach you a Sura which is the greatest Sura in the Qur'an, before you leave the Mosque." Then he got hold of my hand, and when he intended to leave (the Mosque), I said to him, "Didn't you say to me, 'I will teach you a Sura which is the greatest Sura in the Qur'an?' He said, "Al-Hamdu-Li l-lah Rabbi-l-`alamin (i.e. Praise be to Allah, the Lord of the worlds) which is Al-Sab'a Al-Mathani (i.e. seven repeatedly recited Verses) and the Grand Qur'an which has been given to me."

    Open at Sunnah.com →

    Ṣaḥīḥ al-Bukhārī 4647
    Ṣaḥīḥ al-Bukhārī 4703

    حَدَّثَنِي مُحَمَّدُ بْنُ بَشَّارٍ، حَدَّثَنَا غُنْدَرٌ، حَدَّثَنَا شُعْبَةُ، عَنْ خُبَيْبِ بْنِ عَبْدِ الرَّحْمَنِ، عَنْ حَفْصِ بْنِ عَاصِمٍ، عَنْ أَبِي سَعِيدِ بْنِ الْمُعَلَّى، قَالَ مَرَّ بِيَ النَّبِيُّ صلى الله عليه وسلم وَأَنَا أُصَلِّي فَدَعَانِي فَلَمْ آتِهِ حَتَّى صَلَّيْتُ ثُمَّ أَتَيْتُ فَقَالَ ‏"‏ مَا مَنَعَكَ أَنْ تَأْتِيَ ‏"‏‏.‏ فَقُلْتُ كُنْتُ أُصَلِّي‏.‏ فَقَالَ ‏"‏ أَلَمْ يَقُلِ اللَّهُ ‏﴿‏يَا أَيُّهَا الَّذِينَ آمَنُوا اسْتَجِيبُوا لِلَّهِ وَلِلرَّسُولِ‏﴾‏ ثُمَّ قَالَ أَلاَ أُعَلِّمُكَ أَعْظَمَ سُورَةٍ فِي الْقُرْآنِ قَبْلَ أَنْ أَخْرُجَ مِنَ الْمَسْجِدِ ‏"‏ فَذَهَبَ النَّبِيُّ صلى الله عليه وسلم لِيَخْرُجَ مِنَ الْمَسْجِدِ فَذَكَّرْتُهُ فَقَالَ ‏"‏‏﴿‏الْحَمْدُ لِلَّهِ رَبِّ الْعَالَمِينَ‏﴾‏ هِيَ السَّبْعُ الْمَثَانِي وَالْقُرْآنُ الْعَظِيمُ الَّذِي أُوتِيتُهُ ‏"‏‏.‏

    Narrated Abu Sa`id Al-Mualla: While I was praying, the Prophet (ﷺ) passed by and called me, but I did not go to him till I had finished my prayer. When I went to him, he said, "What prevented you from coming?" I said, "I was praying." He said, "Didn't Allah say" "O you who believes Give your response to Allah (by obeying Him) and to His Apostle." (8.24) Then he added, "Shall I tell you the most superior Sura in the Qur'an before I go out of the mosque?" When the Prophet (ﷺ) intended to go out (of the Mosque), I reminded him and he said, "That is: "Al hamdu-li l-lahi Rabbil-`alamin (Surat-al-fatiha)' which is the seven oft repeated verses (Al-Mathani) and the Grand Qur'an which has been given to me."

    Open at Sunnah.com →

    Ṣaḥīḥ al-Bukhārī 5006

    حَدَّثَنَا عَلِيُّ بْنُ عَبْدِ اللَّهِ، حَدَّثَنَا يَحْيَى بْنُ سَعِيدٍ، حَدَّثَنَا شُعْبَةُ، قَالَ حَدَّثَنِي خُبَيْبُ بْنُ عَبْدِ الرَّحْمَنِ، عَنْ حَفْصِ بْنِ عَاصِمٍ، عَنْ أَبِي سَعِيدِ بْنِ الْمُعَلَّى، قَالَ كُنْتُ أُصَلِّي فَدَعَانِي النَّبِيُّ صلى الله عليه وسلم فَلَمْ أُجِبْهُ قُلْتُ يَا رَسُولَ اللَّهِ إِنِّي كُنْتُ أُصَلِّي‏.‏ قَالَ ‏"‏ أَلَمْ يَقُلِ اللَّهُ ‏﴿‏اسْتَجِيبُوا لِلَّهِ وَلِلرَّسُولِ إِذَا دَعَاكُمْ‏﴾‏ ثُمَّ قَالَ أَلاَ أُعَلِّمُكَ أَعْظَمَ سُورَةٍ فِي الْقُرْآنِ قَبْلَ أَنْ تَخْرُجَ مِنَ الْمَسْجِدِ ‏"‏‏.‏ فَأَخَذَ بِيَدِي فَلَمَّا أَرَدْنَا أَنْ نَخْرُجَ قُلْتُ يَا رَسُولَ اللَّهِ إِنَّكَ قُلْتَ لأُعَلِّمَنَّكَ أَعْظَمَ سُورَةٍ مِنَ الْقُرْآنِ‏.‏ قَالَ ‏"‏‏﴿‏الْحَمْدُ لِلَّهِ رَبِّ الْعَالَمِينَ‏﴾‏ هِيَ السَّبْعُ الْمَثَانِي وَالْقُرْآنُ الْعَظِيمُ الَّذِي أُوتِيتُهُ ‏"‏‏.‏

    Narrated Abu Sa`id Al-Mu'alla: While I was praying, the Prophet (ﷺ) called me but I did not respond to his call. Later I said, "O Allah's Apostle! I was praying." He said, "Didn't Allah say: 'O you who believe! Give your response to Allah (by obeying Him) and to His Apostle when he calls you'?" (8.24) He then said, "Shall I not teach you the most superior Surah in the Qur'an?" He said, '(It is), 'Praise be to Allah, the Lord of the worlds. ' (i.e., Surat Al-Fatiha) which consists of seven repeatedly recited Verses and the Magnificent Qur'an which was given to me."

    Open at Sunnah.com →

  3. Relates to āyah32
    Ṣaḥīḥ al-Bukhārī 4648

    حَدَّثَنِي أَحْمَدُ، حَدَّثَنَا عُبَيْدُ اللَّهِ بْنُ مُعَاذٍ، حَدَّثَنَا أَبِي، حَدَّثَنَا شُعْبَةُ، عَنْ عَبْدِ الْحَمِيدِ ـ هُوَ ابْنُ كُرْدِيدٍ صَاحِبُ الزِّيَادِيِّ ـ سَمِعَ أَنَسَ بْنَ مَالِكٍ ـ رضى الله عنه ـ قَالَ أَبُو جَهْلٍ ‏﴿‏اللَّهُمَّ إِنْ كَانَ هَذَا هُوَ الْحَقَّ مِنْ عِنْدِكَ فَأَمْطِرْ عَلَيْنَا حِجَارَةً مِنَ السَّمَاءِ أَوِ ائْتِنَا بِعَذَابٍ أَلِيمٍ‏﴾‏ فَنَزَلَتْ [quran sura="8" aya_start="33" aya_end="34"]‏{‏وَمَا كَانَ اللَّهُ لِيُعَذِّبَهُمْ وَأَنْتَ فِيهِمْ وَمَا كَانَ اللَّهُ مُعَذِّبَهُمْ وَهُمْ يَسْتَغْفِرُونَ * وَمَا لَهُمْ أَنْ لاَ يُعَذِّبَهُمُ اللَّهُ وَهُمْ يَصُدُّونَ عَنِ الْمَسْجِدِ الْحَرَامِ‏}‏ الآيَةَ‏.‏

    Narrated Anas bin Malik: Abu Jahl said, "O Allah! If this (Qur'an) is indeed the Truth from You, then rain down on us a shower of stones from the sky or bring on us a painful torment." So Allah revealed:-- "But Allah would not punish them while you were amongst them, nor He will punish them while they seek (Allah's) forgiveness..." (8.33) And why Allah should not punish them while they turn away (men) from Al- Masjid-al-Haram (the Sacred Mosque of Mecca)..." (8.33-34)

    Open at Sunnah.com →

    Ṣaḥīḥ al-Bukhārī 4649

    حَدَّثَنَا مُحَمَّدُ بْنُ النَّضْرِ، حَدَّثَنَا عُبَيْدُ اللَّهِ بْنُ مُعَاذٍ، حَدَّثَنَا أَبِي، حَدَّثَنَا شُعْبَةُ، عَنْ عَبْدِ الْحَمِيدِ، صَاحِبِ الزِّيَادِيِّ سَمِعَ أَنَسَ بْنَ مَالِكٍ، قَالَ قَالَ أَبُو جَهْلٍ ‏﴿‏اللَّهُمَّ إِنْ كَانَ هَذَا هُوَ الْحَقَّ مِنْ عِنْدِكَ فَأَمْطِرْ عَلَيْنَا حِجَارَةً مِنَ السَّمَاءِ أَوِ ائْتِنَا بِعَذَابٍ أَلِيمٍ‏﴾‏ فَنَزَلَتْ [quran sura="8" aya_start="33" aya_end="34"]‏{‏وَمَا كَانَ اللَّهُ لِيُعَذِّبَهُمْ وَأَنْتَ فِيهِمْ وَمَا كَانَ اللَّهُ مُعَذِّبَهُمْ وَهُمْ يَسْتَغْفِرُونَ * وَمَا لَهُمْ أَنْ لاَ يُعَذِّبَهُمُ اللَّهُ وَهُمْ يَصُدُّونَ عَنِ الْمَسْجِدِ الْحَرَامِ‏}‏ الآيَةَ‏.‏

    Narrated Anas bin Malik: Abu Jahl said, "O Allah! If this (Qur'an) is indeed the Truth from You), then rain down on us a shower of stones from the sky or bring on us a painful punishment." So there was revealed:-- 'But Allah would not punish them while you (Muhammad) were amongst them, nor will He punish them while they seek (Allah's) Forgiveness. And why Allah should not punish them while they stop (men) from Al-Masjid-al-Haram ..' (8.33-34)

    Open at Sunnah.com →

The link between each āyah and these narrations is the Quran Foundation's reviewed reference map. The wording is reproduced verbatim from a public-domain edition of Ṣaḥīḥ al-Bukhārī and is not edited, summarised or generated; every narration also opens at Sunnah.com so it can be checked against another copy.