Al-Kahf 18:21
وَكَذَٰلِكَ أَعْثَرْنَا عَلَيْهِمْ لِيَعْلَمُوٓا۟ أَنَّ وَعْدَ ٱللَّهِ حَقٌّ وَأَنَّ ٱلسَّاعَةَ لَا رَيْبَ فِيهَآ إِذْ يَتَنَـٰزَعُونَ بَيْنَهُمْ أَمْرَهُمْ ۖ فَقَالُوا۟ ٱبْنُوا۟ عَلَيْهِم بُنْيَـٰنًا ۖ رَّبُّهُمْ أَعْلَمُ بِهِمْ ۚ قَالَ ٱلَّذِينَ غَلَبُوا۟ عَلَىٰٓ أَمْرِهِمْ لَنَتَّخِذَنَّ عَلَيْهِم مَّسْجِدًا
That is how We caused them to be discovered so that their people might know that Allah’s promise (of resurrection) is true and that there is no doubt about the Hour.8
When the people disputed with each other about the case of the youth (after their death),8 some proposed, “Build a structure around them.
Their Lord knows best about them.” Those who prevailed in the matter said, “We will surely build a place of worship over them.”
— Mustafa Khattab
Where this verse sits
Other English translations
Thus did We make their case known to the people, that they might know that the promise of Allah is true, and that there can be no doubt about the Hour of Judgment. Behold, they dispute among themselves as to their affair. (Some) said, "Construct a building over them": Their Lord knows best about them: those who prevailed over their affair said, "Let us surely build a place of worship over them."
AND IN THIS way have We drawn [people's] attention to their story, so that they might know - whenever they debate among themselves as to what happened to those [Men of the Cave] that God's promise [of resurrection] is true, and that there can be no doubt as to [the coming of] the Last Hour. And so, some [people] said: "Erect a building in their memory; God knows best what happened to them." Said they whose opinion prevailed in the end: "Indeed, we must surely raise a house of worship in their memory!"
And in like manner We disclosed them (to the people of the city) that they might know that the promise of Allah is true, and that, as for the Hour, there is no doubt concerning it. When (the people of the city) disputed of their case among themselves, they said: Build over them a building; their Lord knoweth best concerning them. Those who won their point said: We verily shall build a place of worship over them.
In this way We brought them to people’s attention so that they might know that God’s promise [of resurrection] is true and that there is no doubt about the Last Hour, [though] people argue among themselves. [Some] said, ‘Construct a building over them: their Lord knows best about them.’ Those who prevailed said, ‘We shall build a place of worship over them.’
So it was, that We caused them to be discovered, that they would know that the promise of God is true, and that of the Hour there is no doubt. As they were disputing their case among themselves, they said, “Build over them a building.” Their Lord knows best about them. Those who prevailed over their case said, “We will set up over them a place of worship.”
And, thus, We made their case known that they know that the promise of God is true and that, as for the Hour, there is no doubt about it. Mention when they contend with one another about their affair. They said: Build over them a structure. Their Lord is greater in knowledge about them. Those who prevailed over their affair said: We, certainly, will take to ourselves over them a place of prostration.
Word by word
in Quran+.
Roots in this verse
عَلِمَ is the primary verb for knowing in Arabic, covering both acquired knowledge and innate awareness.
In the Quran, knowledge has a radical asymmetry: God is ٱلْعَلِيم (the All-Knowing), whose knowledge is absolute and encompasses the unseen (ٱلْغَيْب); human knowledge is always partial, derived, and dependent on divine teaching.
عَلَّمَ (he taught, Form II) is used for God teaching Adam the names, teaching humanity by the pen — knowledge as divine gift rather than human achievement.
وَعَدَ is to make a promise.
In the Quran it operates in two registers simultaneously: وَعْد (a promise of good) and وَعِيد (a warning of punishment to come).
Both are divine commitments — equally certain.
The Quran's repeated assurance is لَا يُخْلِفُ ٱللَّهُ وَعْدَهُ (God does not break His promise) — making divine promise the bedrock of the believer's hope.
Unlike human promises, God's وَعْد is not contingent on circumstances.
أَلِهَ means to worship, to be devoted to, to stand in awe.
إِلَـٰه (a god) is any being claimed to deserve worship.
الله (God) is the contraction of الإِلَـٰه (the God — the definite article making Him unique).
لَا إِلَـٰهَ إِلَّا ٱللَّهُ (There is no god but God) is the Quran's foundational declaration — not merely 'God exists' but 'nothing else deserves the worship and ultimate devotion that the word إِلَـٰه implies.' The first half (لَا إِلَـٰهَ) is as important as the second: negation before affirmation — clearing the ground before planting.
حَقَّ means to be true, to be right, to be real, to be established as fact.
الحَقّ (the Truth, the Real) is both a divine name (God IS الحَقّ) and the Quran's name for itself and for ultimate reality.
وَجَاءَ ٱلْحَقُّ وَزَهَقَ ٱلْبَـٰطِلُ (Truth has come and falsehood has vanished — 17:81).
حَقَّ عَلَيْهِمُ (it became established upon them) is the Quran's formula for when divine punishment becomes inevitable.
الحَقِيقَة (the reality) — what is truly as it is, without illusion.
Sāʿah, an hour or short while, and above all 'the Hour' of resurrection.
Rayb, disquieting doubt; 'the Book in which there is no doubt' opens the path of certainty.
نَزَعَ means to pull out forcefully — the angels who pull out souls at death (ٱلنَّـٰزِعَـٰتِ غَرْقًا — those who pull out violently, 79:1), garments pulled from the people of Hell, and authority removed from those who held it.
The root appears in the divine attribute: تَنزِعُ ٱلْمُلْكَ مِمَّن تَشَآءُ — 'You strip sovereignty from whom You will' (3:26).
Power is given and pulled back at God's will.
بَيَّنَ (Form II) means to make clear, to explain, to clarify.
بَيَان is eloquence, clear explanation.
بَيِّنَة is clear proof or evidence.
The root's primary meaning is also the space or separation between two things (بَيْن = between) — making clarity conceptually linked to the ability to distinguish one thing from another.
In the Quran, God's greatest act of بَيَان is the Quran itself: وَنَزَّلْنَا عَلَيْكَ ٱلْكِتَـٰبَ تِبْيَـٰنًا لِّكُلِّ شَىْءٍ (We have sent down the Book as a clarification of all things — 16:89).
أَمَرَ means to command.
أَمْر means both the command and the matter/affair — in Arabic, a command and the thing commanded into being share a word, suggesting that what God commands into existence IS the affair.
يُدَبِّرُ ٱلْأَمْرَ (He manages the affair — 32:5) describes God's ongoing governance of all creation.
أُولُو ٱلْأَمْرِ (those in authority) are those entrusted with managing human affairs under divine sovereignty.
قَالَ is the most frequent verb in the Quran — by a wide margin, appearing over 1,600 times.
It frames the Quran as a living conversation: between God and the angels, between prophets and their peoples, between believers and God in prayer.
The root carries the full weight of meaningful speech — not idle chatter but words that move history.
Its noun قَوْل (a saying, a word) is distinct from كَلَام (speech as a continuous act); قَوْل is a discrete, weighty utterance.
Construction and edifice (bunyān), and by extension the children (banūn) one raises up.
رَبَّ means to nurture, to raise, to be the sustaining master of something.
الرَّبّ (the Lord) is God's most used title in the Quran — appearing over 900 times.
Unlike مَلِك (king) which emphasizes sovereignty, رَبّ emphasizes the nurturing relationship: the Lord who raises, feeds, sustains, and develops.
رَبَّنَا (Our Lord) is the most frequent supplication form in the Quran — the prayer that presupposes a relationship of care, not merely of power.
غَلَبَ means to overcome, to defeat, to prevail over.
In the Quran it is used for historical battles, for the eventual triumph of truth over falsehood, and for the sovereignty of God who ultimately غَلَبَ (prevails) over all.
The remarkable verse 5:56 describes God and His messenger as مَن تَوَلَّاهُ يَغْلِبُون (whoever takes God as guardian — they will prevail).
غَالِب (the prevailing one) as a divine attribute appears: وَٱللَّهُ غَالِبٌ عَلَىٰٓ أَمْرِهِ (God prevails in His affairs — 12:21).
أَخَذَ means to take hold of something — receiving, seizing, or grasping.
In the Quran its most awesome use is God's أَخْذ: the seizing of wrongdoers in divine punishment, described as terrible and inescapable.
وَكَذَٰلِكَ أَخْذُ رَبِّكَ إِذَآ أَخَذَ ٱلْقُرَىٰ وَهِىَ ظَـٰلِمَة (Such is the seizing of your Lord when He seizes the towns that are doing wrong — 11:102).
Its Form VIII اتَّخَذَ means 'to take as' — adopting something in a particular role, such as taking God as a protector, or taking idols as gods.
سَجَدَ means to prostrate — to place one's forehead on the ground in submission.
السُّجُود is the climax of Islamic prayer, the moment of greatest nearness to God: أَقْرَبُ مَا يَكُونُ الْعَبْدُ مِن رَّبِّهِ وَهُوَ سَاجِدٌ (The closest the servant is to his Lord is when he is prostrating — hadith).
The Quran declares that all creation سَجَدَ to God — trees, animals, shadows — making human سُجُود the conscious participation in a universal act.
Commentary
Notes by Mustafa Khattab
8 Their antique silver coins gave them away.
People rushed to the cave to greet the youths, who finally passed away and were buried in the cave.
The King decided to build a place of worship at the cave to commemorate their story.
Notes by Muhammad Asad
27 I.e., by means of the legend which has grown up around the Men of the Cave and, more particularly, by means of the allegoric use which the Qur'an makes of this legend.28
Lit., "given knowledge about them [to others]".29
Lit., "debate their case (amrahum) among themselves": an indication of the fact that the legend of the Men of the Cave occupied men's minds for a long time, leading to many discussions and conflicting interpretations.
The next sentence explains why God has "drawn [people's] attention" to this story in the context of the Qur'an.30
This, to my mind, is the meaning of the expression `alayhim (lit., "over them") occurring here as well as in the subsequent reference to the building of a house of worship at the suggestion of those "whose opinion prevailed in the end" (aliadhina ghalabu `ala amrihim).
Notes by Yusuf Ali
2357 This text is missing. This text is missing. This text is missing. This text is missing. This text is missing. This text is missing. This text is missing. This text is missing. This text is missing.
2358 This text is missing. This text is missing. This text is missing. This text is missing. This text is missing. This text is missing. This text is missing. This text is missing. This text is missing.
Tazkirul Quran · tafsir
The span of a man’s life in this world is hardly a hundred years or even much less than that.
After he dies, to all appearances it seems that he is finished once and for all, but the fact is that he exists even after death and rises again in a new world where he receives perpetual comfort or perpetual punishment.
This is a very serious human problem and has always been the subject of discussion.
In view of its importance, God arranged for tangible evidence in addition to logical arguments so that there should be no scope for doubt about ‘life after death’.
Such tangible evidence has been presented in different forms in different periods.
In the fifth century A.D., the emergence of ‘the Men of the Cave’ from the cave after ‘death’ is an extraordinary incident of this kind.
In the present age, the researches of meta-science have uncovered instances of a similar nature which establish the veracity of the theory of life after death.
When the Men of the Cave emerged from their cave, the condition of their city had completely changed.
It has been estimated that it was in the year 250 A.D. that they left their city of Ephesus and went into hiding in the cave.
At that time a pagan ruler Desius was ruling in that area.
In the meantime, due to the efforts of the Christian missionaries, the Roman King, Constantine, embraced Christianity, and thereafter, Christianity spread over the entire Roman domain.
The Men of the Cave returned to their city in the year 447 A.D., at which time Christianity had become the dominant religion in their city.
When the seven young men came out of the cave and it was confirmed by means of slabs kept in the Royal Treasury and by other means, that these were the very individuals who had had to leave their city on account of their Christian beliefs, paganism being prevalent there, they immediately became the centre of the people’s devotion.
The new Roman Ruler, Theodosus, himself went on foot to see them and seek their blessings.
When they died, a place of worship was built at their cave as a memorial.
Related hadith
Sahih al-Bukhari - Hadith 427
Is it permissible to dig the graves of pagans of the period of Ignorance, and to use that place as a mosque?
Narrated `Aisha:
Um Habiba and Um Salama mentioned about a church they had seen in Ethiopia in which there were pictures. They told the Prophet (ﷺ) about it, on which he said, "If any religious man dies amongst those people they would build a place of worship at his grave and make these pictures in it. They will be the worst creature in the sight of Allah on the Day of Resurrection."
Sahih | Related to Quran 18:21
Sahih al-Bukhari - Hadith 432
The dislikeness of offering As-Salat (the prayers) in grave-yards
Narrated Ibn `Umar:
The Prophet (ﷺ) had said, "Offer some of your prayers (Nawafil) at home, and do not take your houses as graves."
Sahih | Related to Quran 18:21
Sahih al-Bukhari - Hadith 435, 436
Chapter
Narrated `Aisha and `Abdullah bin `Abbas:
When the last moment of the life of Allah's Messenger (ﷺ) came he started putting his 'Khamisa' on his face and when he felt hot and short of breath he took it off his face and said, "May Allah curse the Jews and Christians for they built the places of worship at the graves of their Prophets." The Prophet (ﷺ) was warning (Muslims) of what those had done.
Sahih | Related to Quran 18:21
Sahih al-Bukhari - Hadith 857
The ablution for boys (youngsters). When they should perform Ghusl (take a bath) and Tuhur (purification). Their attendance at congregational prayers and their rows in the prayers.
Narrated Sulaiman Ash-Shaibani:
I heard Ash-Shu`bi saying, "A person who was accompanying the Prophet (ﷺ) passed by a grave that was separated from the other graves told me that the Prophet (ﷺ) once led the people in the (funeral) prayer and the people had aligned behind him. I said, "O Aba `Amr! Who told you about it?" He said, "Ibn `Abbas."
Sahih | Related to Quran 18:21
Sahih al-Bukhari - Hadith 1187
To offer the Nawafil prayers at home
Narrated Ibn `Umar:
Allah's Messenger (ﷺ) said, "Offer some of your prayers in your houses and do not make them graves."
Sahih | Related to Quran 18:21
Sahih al-Bukhari - Hadith 1319
The rows for a funeral prayer
Narrated Ash-Shaibani:
Ash Shu`bi said, "I was informed by a man who had seen the Prophet (ﷺ) going to a grave that was separate from the other graves and he aligned the people in rows and said four Takbir." I said, "O Abu `Amr! who narrated (that) to you"? He said, "Ibn `Abbas. "
Sahih | Related to Quran 18:21
Sahih al-Bukhari - Hadith 1322
The legal way of offering the funeral prayer
Narrated Ash-Shaibani:
Ash-Shu`bi said, "Somebody who passed along with your Prophet (p.b.u.h) by a grave that was separate from the other graves informed me (saying), "The Prophet (ﷺ) led us (in the prayer) and we aligned behind him." We said, "O Abu `Amr! Who told you this narration?" He replied, "Ibn `Abbas."
Sahih | Related to Quran 18:21
Sahih al-Bukhari - Hadith 1336
To offer the (funeral) Salat on the grave after the burial of the deceased
Narrated Sulaiman Ash-Shaibani:
I heard Ash-Shu`bi saying, "I was told by a man who had passed with the Prophet (p.b.u.h) by a grave that was separate from the other graves that he (the Prophet (ﷺ) ) led them in the prayer and they prayed behind him." I said, "O Abu `Amr! Who narrated that to you?" He replied, "Ibn `Abbas."
Sahih | Related to Quran 18:21
Sahih al-Bukhari - Hadith 1350
Can the dead body be taken out of its grave
Narrated Jabir bin `Abdullah:
Allah's Messenger (ﷺ) came to `Abdullah bin Ubai (a hypocrite) after his death and he has been laid in his pit (grave). He ordered (that he be taken out of the grave) and he was taken out. Then he placed him on his knees and threw some of his saliva on him and clothed him in his (the Prophet's) own shirt. Allah knows better (why he did so). `Abdullah bin Ubai had given his shirt to Al-Abbas to wear. Abu Harun said, "Allah's Messenger (ﷺ) at that time had two shirts and the son of `Abdullah bin Ubai said to him, 'O Allah's Messenger! Clothe my father in your shirt which has been in contact with your skin.' ' Sufyan added, "Thus people think that the Prophet (ﷺ) clothed `Abdullah bin Tubal in his shirt in lieu of what he (Abdullah) had done (for Al `Abbas, the Prophet's uncle.)"
Sahih | Related to Quran 18:21
Sahih al-Bukhari - Hadith 1390
The graves of the Prophet (pbuh), Abu Bakr, and Umar Radiyallahu Anhu
Narrated `Aisha:
Allah's Messenger (ﷺ) in his fatal illness said, "Allah cursed the Jews and the Christians, for they built the places of worship at the graves of their prophets." And if that had not been the case, then the Prophet's grave would have been made prominent before the people. So (the Prophet (ﷺ) ) was afraid, or the people were afraid that his grave might be taken as a place for worship.
Sahih | Related to Quran 18:21
Sahih al-Bukhari - Hadith 3453, 3454
What has been said about Bani Israel
Narrated `Aisha and Ibn `Abbas:
On his death-bed Allah's Messenger (ﷺ) put a sheet over his-face and when he felt hot, he would remove it from his face. When in that state (of putting and removing the sheet) he said, "May Allah's Curse be on the Jews and the Christians for they build places of worship at the graves of their prophets." (By that) he intended to warn (the Muslim) from what they (i.e. Jews and Christians) had done.
Sahih | Related to Quran 18:21
Sahih al-Bukhari - Hadith 3873
The emigration to Ethiopia
Narrated `Aisha:
Um Habiba and Um Salama mentioned a church they had seen in Ethiopia and in the church there were pictures. When they told the Prophet (ﷺ) of this, he said, "Those people are such that if a pious man amongst them died, they build a place of worship over his grave and paint these pictures in it. Those people will be Allah's worst creatures on the Day of Resurrection . "
Sahih | Related to Quran 18:21
Sahih al-Bukhari - Hadith 4443, 4444
The sickness of the Prophet (ﷺ) and his death
`Aisha and `Abdullah bin `Abbas said, "When Allah's Messenger (ﷺ) became ill seriously, he started covering his face with his woolen sheet, and when he felt short of breath, he removed it from his face and said, 'That is so! Allah's curse be on the Jews and the Christians, as they took the graves of their prophets as (places of worship),' intending to warn (the Muslims) of what they had done."
Sahih | Related to Quran 18:21
Sahih al-Bukhari - Hadith 5795
Wearing of shirts
Narrated Jabir bin `Abdullah:
The Prophet (ﷺ) came to visit `Abdullah bin Ubai (bin Salul) after he had been put in his grave. The Prophet (ﷺ) ordered that `Abdullah be taken out. He was taken out and was placed on the knees of the Prophet, who blew his (blessed) breath on him and dressed the body with his own shirt. And Allah knows better.
Sahih | Related to Quran 18:21
Sahih al-Bukhari - Hadith 5815, 5816
Al-Aksiya and Al-Khama'is
Narrated `Aisha and `Abdullah bin `Abbas:
When the disease of Allah's Messenger (ﷺ) got aggravated, he covered his face with a Khamisa, but when he became short of breath, he would remove it from his face and say, "It is like that! May Allah curse the Jews Christians because they took the graves of their prophets as places of worship." By that he warned his follower of imitating them, by doing that which they did.
Sahih | Related to Quran 18:21
Sahih Muslim - Hadith 528 a
The prohibition of building masajid over graves and placing images therein; and the prohibition of taking graves as masajid
'A'isha reported: Umm Habiba and Umm Salama made a mention before the Messenger of Allah (ﷺ) of a church which they had seen in Abyssinia and which had pictures in it. The Messenger of Allah (ﷺ) said: When a pious person amongst them (among the religious groups) dies they build a place of worship on his grave, and then decorate it with such pictures. They would be the worst of creatures on the Day of judgment in the sight of Allah.
Sahih | Related to Quran 18:21
Sahih Muslim - Hadith 531
The prohibition of building masajid over graves and placing images therein; and the prohibition of taking graves as masajid
'A'isha and Abdullah reported: As the Messenger of Allah (ﷺ) was about to breathe his last, he drew his sheet upon his face and when he felt uneasy, he uncovered his face and said in that very state: Let there be curse upon the Jews and the Christians that they have taken the graves of their apostles as places of worship. He in fact warned (his men) against what they (the Jews and the Christians) did.
Sahih | Related to Quran 18:21
Sahih Muslim - Hadith 532
The prohibition of building masajid over graves and placing images therein; and the prohibition of taking graves as masajid
Jundub reported: I heard from the Messenger of Allah (ﷺ) five days before his death and he said: I stand acquitted before Allah that I took any one of you as friend, for Allah has taken me as His friend, as he took Ibrahim as His friend. Had I taken any one of my Ummah as a friend, I would have taken Abu Bakr as a friend. Beware of those who preceded you and used to take the graves of their prophets and righteous men as places of worship, but you must not take graves as mosques; I forbid you to do that.
Sahih | Related to Quran 18:21
Sahih Muslim - Hadith 777 a
It is recommended to offer voluntary prayers in one’s house although it is permissible to offer them in the masjid
Ibn 'Umar reported Allah's Messenger (ﷺ) as saying: Observe some of your prayers in your houses and do not make them graves.
Sahih | Related to Quran 18:21
Sahih Muslim - Hadith 954 a
Praying over the grave
Sha'bi reported that the Messenger of Allah (ﷺ) observed prayer over a grave after the dead was buried and he recited four takbirs over him. Shaibani said: I said to Sha'bi: Who narrated it to you? He said: An authentic one, 'Abdullah b. 'Abbas. This is the word of a hasan hadith. In the narration of Ibn Numair (the words are): The Messenger of Allah (ﷺ) went to the grave which had been newly prepared and prayed over it, and they also prayed who were behind him and he recited four takbirs. I said to 'Amir: Who narrated it to you? He said: An authentic one who saw him, i e. Ibn 'Abbas.
Sahih | Related to Quran 18:21
Sahih Muslim - Hadith 966
The Lahd (Niche), and setting up bricks over the deceased
'Amir b. Sa'd b. Abu Waqqas told that Sa'd b. Abu Waqqas said during his illness of which he died:" Make a niche for me in the side of the grave and set up bricks over me as was done in case of Allah's Messenger (ﷺ).
Sahih | Related to Quran 18:21
Sahih Muslim - Hadith 969 a, 969 b
The command to level the grave
Abu'l-Hayyaj al-Asadi told that 'Ali (b. Abu Talib) said to him: Should I not send you on the same mission as Allah's Messenger (ﷺ) sent me? Do not leave an image without obliterating it, or a high grave without levelling It. This hadith has been reported by Habib with the same chain of transmitters and he said: (Do not leave) a picture without obliterating it.
Sahih | Related to Quran 18:21
Sahih Muslim - Hadith 970 a
The prohibition of plastering graves or erecting structures over them
Jabir said: Allah's Messenger (ﷺ) forbade that the graves should be plastered or they be used as sitting places (for the people), or a building should be built over them.
Sahih | Related to Quran 18:21
Sahih Muslim - Hadith 971 a
Prohibition against sitting and praying on graves
Abu Huraira reported Allah's Messenger (ﷺ) as saying: It is better that one of you should sit on live coals which would burn his clothing and come in contact with his skin than that he should sit on a grave.
Sahih | Related to Quran 18:21
Sahih Muslim - Hadith 972 a
Prohibition against sitting and praying on graves
Abu Marthad al-Ghanawi reported Allah's Messenger (ﷺ) as saying: Do not sit on the graves and do not pray facing towards them.
Sahih | Related to Quran 18:21
Sahih Muslim - Hadith 974 a
What is to be said when entering the graveyard and supplicating for its occupants
'A'isha reported (that whenever it was her turn for Allah's Messenger (ﷺ) [may peace be upon him] to spend the night with her) he would go out towards the end of the night to al-Baqi' and say: Peace be upon you, abode of a people who are believers. What you were promised would come to you tomorrow, you receiving it after some delay; and God willing we shall join you. O Allah, grant forgiveness to the inhabitants of Baqi' al-Gharqad. Qutaiba did not mention his words:" would come to you".
Sahih | Related to Quran 18:21
Topics
Each topic opens every verse on it. Browse all the topics, or install Quran+ Web on your phone to enjoy the full power behind this page.
One of the most powerful Quran apps, by IslamiCity.
Taking you to Surah Al-Kahf 18:21.
The first visit can take a few seconds. Please wait.
Quran+ is IslamiCity's Quran study app: listen, read the Mushaf, learn Tajweed, search by voice.
Open this verse in Quran+ · Quran+ home
Put Quran+ on your Home Screen
Open Quran+ first. Then tap the Share button in Safari and choose Add to Home Screen.