01
Overview
Al-Kahf means “The Cave”. The Surah is built around four stories: young believers who flee to a cave, a wealthy man and his two gardens, the Prophet Mūsā's journey with a servant of Allah, and a powerful ruler called Dhul-Qarnayn.
Many teachers read these as four kinds of test: of faith, of wealth, of knowledge, and of power. Each story shows someone facing one of them, and how they respond.
The Surah opens by praising Allah for revealing a Book with no crookedness in it, and closes with a single instruction: do good, and worship no one but Allah.
02
Background
Al-Kahf is a Makkan Surah, revealed while the early Muslims were facing pressure to abandon their faith. The story of young people who leave their society to protect their belief would have spoken directly to them.
Ibn Isḥāq reports that the Quraysh, advised by Jewish scholars, asked the Prophet peace be upon him about the young men of the cave, a great traveller, and the soul. He said he would answer the next day, without saying “in shā' Allāh”, and revelation was delayed. Many commentators link this to verses 23–24. Scholars have discussed the strength of this report's chain.
Sīrah of Ibn Isḥāq, cited in Tafsīr Ibn Kathīr.
03
Stories & events
The Surah's four main stories, plus a short reminder about Iblīs between them.
- 1
The people of the cave
18:9–26(read on Quran.com, opens in a new tab)Young believers leave a society that demands they worship others besides Allah. They take shelter in a cave and pray for mercy. Allah causes them to sleep for many years, then wakes them as a sign that He can bring people back to life.
The test of faith: protecting your belief can mean stepping away from what everyone around you is doing.
- 2
The owner of two gardens
18:32–44(read on Quran.com, opens in a new tab)A man with two rich gardens grows proud, thinks they will never perish, and doubts the Hour. His companion reminds him to say “mā shā' Allāh, lā quwwata illā billāh”. His gardens are destroyed, and he regrets what he associated with Allah.
The test of wealth: what you have is from Allah, and it can go.
- 3
Iblīs refuses to bow
18:50–51(read on Quran.com, opens in a new tab)A brief reminder: Iblīs refused to bow to Ādam. Would you take him and his offspring as allies instead of Allah, when they are your enemies?
Arrogance was the first sin.
- 4
Mūsā and al-Khiḍr
18:60–82(read on Quran.com, opens in a new tab)Mūsā travels to meet a servant of Allah who has been given knowledge from Him. He follows him, promising patience, but objects when the man damages a boat, takes a boy's life, and repairs a wall for people who refused them hospitality. The man then explains the hidden wisdom behind each act.
The test of knowledge: there is always more you don't know, and not everything that looks wrong is.
- 5
Dhul-Qarnayn
18:83–98(read on Quran.com, opens in a new tab)A ruler given great power and means travels west and east, judging people justly. He helps a people threatened by Ya'jūj and Ma'jūj (Gog and Magog) by building a barrier of iron and copper, then says: “This is a mercy from my Lord.”
The test of power: use it to protect people, and attribute it to Allah.
04
Major themes
This world is beautiful and temporary. The Surah compares worldly life to rain that makes plants flourish before they dry and blow away, and says that lasting good deeds are better.
Say “in shā' Allāh”. Never say you will do something tomorrow without adding “if Allah wills”.
Your company matters. The Prophet peace be upon him is told to stay patiently with those who call on their Lord morning and evening, and not to follow someone whose heart is heedless.
Patience with what you don't understand. Mūsā's story shows that Allah's wisdom can lie behind events that seem wrong at the time.
The real loss. Near the end, the Surah describes those who are the greatest losers: people who thought they were doing well while their efforts in this world were lost.
05
Dos & don'ts
Practical guidance drawn from the Surah. Each links to the verses it comes from.
Do
Say “in shā' Allāh” when you talk about future plans.
18:23–24(read on Quran.com, opens in a new tab)Keep company with people who remember Allah.
18:28(read on Quran.com, opens in a new tab)When you admire what you have, say “mā shā' Allāh, lā quwwata illā billāh”.
18:39(read on Quran.com, opens in a new tab)Seek knowledge with humility and patience.
18:66(read on Quran.com, opens in a new tab)Credit your success to Allah's mercy.
18:98(read on Quran.com, opens in a new tab)
Don't
Tie your worth to your wealth.
18:34–35(read on Quran.com, opens in a new tab)Argue over details that don't matter.
18:22(read on Quran.com, opens in a new tab)Judge too quickly what you don't fully understand.
18:67–68(read on Quran.com, opens in a new tab)Follow someone whose heart is heedless of Allah.
18:28(read on Quran.com, opens in a new tab)
06
Hadith connections
Each reference below includes its collection and number where confirmed. References are awaiting review by a qualified reviewer.
Memorising the opening ten verses offers protection from the Dajjal.
Whoever memorises the first ten verses of Surah Al-Kahf will be protected from the Dajjal. Another narration in the same place mentions the last ten verses.
- Reference
- Sahih Muslim 809
- Narrator
- Abu ad-Darda'
- Book
- Book of the Prayer of Travellers
Why many Muslims read Al-Kahf every Friday, and why scholars differ on this narration.
Whoever recites Surah Al-Kahf on Friday will have a light shining for him between the two Fridays.
- Reference
- Al-Mustadrak of al-Hakim; Sunan al-Bayhaqi (number to be confirmed)
- Narrator
- Abu Sa'id al-Khudri
Why it’s disputed: Scholars differ. Some, including al-Hakim and in later times al-Albani, graded it authentic as a statement of the Prophet peace be upon him. Others considered the stronger chains to stop at Abu Sa'id himself. Many scholars note that a Companion's statement about a specific reward like this would not be said from personal opinion. Reading Al-Kahf on Friday is widely practised on this basis.
The fuller account of why Mūsā went to meet al-Khiḍr.
Musa was asked who was the most knowledgeable person and answered 'I am', without attributing knowledge to Allah. Allah then told him of a servant at the meeting of the two seas who had knowledge he did not, which led to his journey with al-Khidr.
- Narrator
- Ubayy ibn Ka'b
- Book
- Book of Knowledge
- Also in
- Sahih Muslim 2380
Tranquillity descended when a Companion recited this Surah.
A man was reciting Surah Al-Kahf when a cloud came over him and his horse became restless. The Prophet peace be upon him said it was tranquillity (sakinah) that descended because of the Quran.
- Narrator
- Al-Bara' ibn 'Azib
- Book
- Book of the Virtues of the Quran
- Also in
- Sahih Muslim 795
Ya'jūj and Ma'jūj are among the signs before the Hour.
A long hadith about the end of times, which includes the emergence of Ya'juj and Ma'juj (Gog and Magog) after the Dajjal.
- Reference
- Sahih Muslim 2937
- Narrator
- An-Nawwas ibn Sam'an
- Book
- Book of Tribulations and Portents of the Last Hour
07
Quran-to-Quran connections
Wealth and children are an adornment of this life, and elsewhere the Quran also calls them a test.
The same image of rain, growth and withering describes worldly life in Surah Al-Ḥadīd.
Iblīs's refusal is told more fully in Al-A'rāf, where he reasons that he is better than Ādam.
Like Dhul-Qarnayn, the Prophet Sulaymān credited his power to Allah: “This is from the favour of my Lord, to test me.”
Ya'jūj and Ma'jūj are mentioned again in Surah Al-Anbiyā' as being released near the end of time.
The same words close Al-Kahf and appear in Fuṣṣilat: “I am only a man like you; it is revealed to me that your god is One God.”
08
Practical lessons
Try this week
0 of 3 doneStart memorising the first ten verses, one verse a day.
Sahih Muslim 809Catch yourself making a plan without “in shā' Allāh”, and add it.
18:23–24(read on Quran.com, opens in a new tab)Spend time with one person who reminds you of Allah.
18:28(read on Quran.com, opens in a new tab)
Reflect
Which of the four tests (faith, wealth, knowledge, power) are you facing most right now?
Is there something in your life that looked like a loss but may have protected you?
What do you own that you quietly think could never be taken away?
09
Interpretation notes
Where scholars have differed, and what is commonly said but not established.
Verse 25 mentions three hundred years “and nine more”. Most commentators take this as Allah stating how long they stayed. Some read it as reporting what people claimed, since the next verse says Allah knows best how long they remained. Many have also noted that three hundred solar years is roughly three hundred and nine lunar years.
Was al-Khiḍr a prophet or a righteous servant given special knowledge? Scholars have differed. Many argue he was a prophet, since his actions (such as taking the boy's life) could only be justified by revelation, and he says, “I did not do it of my own accord.”
Commonly said: The names of the young men and their dog are known.
Names such as “Qiṭmīr” for the dog come from later reports, not the Quran or authentic hadith. The Quran itself discourages arguing over details such as how many they were.
Commonly said: Dhul-Qarnayn was Alexander the Great (or Cyrus, or another known king).
The Quran does not name him, and no authentic hadith settles his identity. Scholars have proposed several figures and disagree; Ibn Kathīr, for example, rejected identifying him with Alexander of Macedon.
Commonly said: Al-Khiḍr is still alive today.
This is widely repeated, but no authentic text establishes it, and many scholars rejected it.
Commonly said: The cave is at a specific known site.
Several places have claimed to be the cave. None is established by the Quran or authentic hadith.
10
Final 10 lessons
- 1
Protecting your faith is worth leaving comfort behind.
18:10(read on Quran.com, opens in a new tab) - 2
Allah can bring people back to life; the Hour is real.
18:21(read on Quran.com, opens in a new tab) - 3
Say “in shā' Allāh” about the future.
18:23–24(read on Quran.com, opens in a new tab) - 4
Choose company that remembers Allah.
18:28(read on Quran.com, opens in a new tab) - 5
Wealth is a gift, not a guarantee.
18:42(read on Quran.com, opens in a new tab) - 6
Lasting good deeds outweigh everything this world offers.
18:46(read on Quran.com, opens in a new tab) - 7
Arrogance was Iblīs's downfall. Guard against it.
18:50(read on Quran.com, opens in a new tab) - 8
There is always someone who knows more. Stay humble.
18:66(read on Quran.com, opens in a new tab) - 9
Hidden wisdom can lie behind painful events.
18:79–82(read on Quran.com, opens in a new tab) - 10
Power is for protecting people, and it comes from Allah.
18:98(read on Quran.com, opens in a new tab)
الكهف
Now read Surah Al-Kahf itself.
You've seen what it's about. The verses will read differently now. Try a few at a time, with a translation beside you.