Sūrah 22 · Medinan

How Sūrah Al-Hajj 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 #103

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

Length 78 ayahs

10 reading sections in the Muṣḥaf.

The revelation story

How and when it came down.

This surah warns humanity of the imminent terrors of the Hour, proves the Resurrection through the analogy of creation, and refutes shirk and the polytheists’ baseless disputation. It highlights the sanctity of the ancient rites of Hajj and its benefits. It also contains the pivotal first command and permission for Muslims to fight back against their oppressors, promising victory and empowerment in the land.

Themes and purpose:

This surah warns humanity of the imminent terrors of the Hour, proves the Resurrection through the analogy of creation, and refutes shirk and the polytheists’ baseless disputation. It highlights the sanctity of the ancient rites of Hajj and its benefits. It also contains the pivotal first command and permission for Muslims to fight back against their oppressors, promising victory and empowerment in the land.

Context of Revelation:

Era: There is considerable difference of opinion as to whether it is Makkan or Madinan. The majority view is that it contains both Makkan and Madinan ayahs, interwoven such that it is not possible to clearly distinguish them as sections. According to Ibn Ashur, parts of it were most likely revealed late in the Makkan period, while the remainder was revealed in Madinah.

Context: Some verses are definitively Madinan such as the āyah granting the first permission to fight [39].

Name and Ayah Count:

Name: "Sūrat al-Ḥajj" (The Pilgrimage). It is named for its description of Allah's command to Ibrahim to proclaim the Hajj, detailing the rites and their benefits. This emphasizes the sanctity of the Ka’bah, even though the obligation of Hajj was finalized later.

Unique Feature: It is the only surah in the Quran that contains two ayahs where a listener should prostrate [18, 77].

Ayah Count: 77 ayah (Madīnah/Makkah), 78 (Kūfah), or 74/75 (Shām/Baṣrah).

Surah Overview:

  • Warning humanity to fear Allah and the terrifying horrors of the Day of Judgment. [1-2]
  • Refuting shirk by exposing the polytheists’ baseless, ignorant disputation and their following of Satan. [3–4, 8–10]
  • Proving the Resurrection through the analogies of creation (man from dust) and the revival of dead earth with rain. [5-10]
  • Refuting polytheism and condemning those who argue without knowledge, following Satan. [3, 8-10, 12]
  • Portraying the wavering stance of some toward Islam—worshipping “on an edge,” swayed by worldly outcomes. [11–13]
  • Emphasising mankind’s enduring split between guidance and misguidance, and that the Day of Judgment is the day of decisive separation between them. [17, 69, 56–57]
  • Describing the final fate of the two antagonists “who dispute over their Lord”. [19-24]
  • Honoring the Hajj and the command to Ibrahim, detailing the rites and condemning those who block the Sacred Mosque. [25-37]
  • Granting the first permission to the Muslims to fight because they were wronged and expelled from their homes without right. Promising victory and empowerment in the land to those who, once established, uphold prayer, zakah, and justice. [39-41]
  • Consoling the Prophet (ﷺ) by recounting the destruction of the nations that rejected past messengers (e.g., Nuh, Ad, Thamud). [42-48]
  • Affirming that Allah is the protector of His messengers' revelation, despite Satan’s whispers. [52-55]
  • Highlighting the Quran and its faithful receivers; describing the disbelievers’ hatred of the Quran and the one sent with it. [50–51, 58–60]
  • Closing by reminding of Allah’s favors and His choosing among angels and humans, guiding to what draws near to Him, and affirming that He named them “Muslims” and is their Protector and Helper. [75–78]

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 9 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 āyah2
    Ṣaḥīḥ al-Bukhārī 4741

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

    Narrated Abu Sa`id Al-Khudri: The Prophet (ﷺ) said, "On the day of Resurrection Allah will say, 'O Adam!' Adam will reply, 'Labbaik our Lord, and Sa`daik ' Then there will be a loud call (saying), Allah orders you to take from among your offspring a mission for the (Hell) Fire.' Adam will say, 'O Lord! Who are the mission for the (Hell) Fire?' Allah will say, 'Out of each thousand, take out 999.' At that time every pregnant female shall drop her load (have a miscarriage) and a child will have grey hair. And you shall see mankind as in a drunken state, yet not drunk, but severe will be the torment of Allah." (22.2) (When the Prophet (ﷺ) mentioned this), the people were so distressed (and afraid) that their faces got changed (in color) whereupon the Prophet (ﷺ) said, "From Gog and Magog nine-hundred ninety-nine will be taken out and one from you. You Muslims (compared to the large number of other people) will be like a black hair on the side of a white ox, or a white hair on the side of a black ox, and I hope that you will be onefourth of the people of Paradise." On that, we said, "Allahu-Akbar!" Then he said, "I hope that you will be) one-third of the people of Paradise." We again said, "Allahu-Akbar!" Then he said, "(I hope that you will be) one-half of the people of Paradise." So we said, Allahu Akbar."

    Open at Sunnah.com →

  2. Relates to āyah11
    Ṣaḥīḥ al-Bukhārī 4742

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

    Narrated Ibn `Abbas: Regarding the Verse: "And among men is he who worships Allah's as it were on the very edge." (22.11). A man used to come to Medina as if his wife brought a son and his mares produces offspring. He would say, "This religion (Islam) is good," but if his wife did not give birth to a child and his mares produced no offspring, he would say, "This religion is bad."

    Open at Sunnah.com →

  3. Relates to āyah19
    Ṣaḥīḥ al-Bukhārī 3965

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

    Narrated Abu Mijlaz: From Qais bin Ubad: `Ali bin Abi Talib said, "I shall be the first man to kneel down before (Allah), the Beneficent to receive His judgment on the day of Resurrection (in my favor)." Qais bin Ubad also said, "The following Verse was revealed in their connection:-- "These two opponents believers and disbelievers) Dispute with each other About their Lord." (22.19) Qais said that they were those who fought on the day of Badr, namely, Hamza, `Ali, 'Ubaida or Abu 'Ubaida bin Al-Harith, Shaiba bin Rabi`a, `Utba and Al-Wahd bin `Utba.

    Open at Sunnah.com →

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

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

    Narrated Abu Dhar: The following Holy Verse:-- "These two opponents (believers & disbelievers) dispute with each other about their Lord," (22.19) was revealed concerning six men from Quraish, namely, `Ali, Hamza, 'Ubaida bin Al-Harith; Shaiba bin Rabi`a, `Utba bin Rabi`a and Al-Walid bin `Utba.

    Open at Sunnah.com →

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

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

    Narrated `Ali: The following Holy Verse:-- "These two opponents (believers and disbelievers) dispute with each other about their Lord." (22.19) was revealed concerning us.

    Open at Sunnah.com →

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

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

    Narrated Qais: I heard Abu Dhar swearing that the following Holy verse:-- "These two opponents (believers and disbelievers) disputing with each other about their Lord," (22.19) was revealed concerning those men who fought on the day of Badr, namely, Hamza, `Ali, Ubaida bin Al-Harith, `Utba and Shaiba----the two sons of Rabi`a-- and Al-Walid bin `Utba.

    Open at Sunnah.com →

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

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

    Narrated Qais bin Ubad: Abu Dharr used to take an oath confirming that the Verse: 'These two opponents (believers, and disbelievers) dispute with each other about their Lord.' (22.19) was Revealed in connection with Hamza and his two companions and `Utbah and his two companions on the day when they ease out of the battle of Badr.

    Open at Sunnah.com →

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

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

    Narrated Qais bin Ubad: `Ali said, "I will be the first to kneel before the Beneficent on the Day of Resurrection because of the dispute." Qais said; This Verse: 'These two opponents (believers and disbelievers dispute with each other about their Lord,' (22.19) was revealed in connection with those who came out for the Battle of Badr, i.e. `Ali, Hamza, 'Ubaida, Shaiba bin Rabi`a, `Utba bin Rabi`a and Al-Walid bin `Utba.

    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.