🕌
سُورَةُ الْكَهْف
Surah Al-Kahf
The Cave · Chapter 18 · Tafsir Course for Young Learners

"One who recites Surah Al-Kahf on the day of Jumu'ah will have light from beneath his feet to the sky — light that will shine for him on the Day of Resurrection."

— The Prophet Muhammad ﷺ (Narrated by al-Bayhaqi, classed Saheeh by Shaykh al-Albaani)
18
Chapter No.
110
Verses
4
Great Stories
Makki
Revelation
Welcome to the Course

Why Do We Study Surah Al-Kahf Every Friday?

The Surah of Tests & Trials

Surah Al-Kahf was revealed in Makkah at one of the most difficult times for the Prophet ﷺ and the early Muslims. The Quraysh of Makkah, trying to test the Prophet ﷺ, sent two men to the Jewish scholars in Madinah and asked them to devise the hardest possible questions. The scholars suggested asking about young men who disappeared, about a man who travelled the whole earth, and about the soul. Allah responded — not with simple answers — but with four magnificent stories, each teaching a timeless lesson about the trials every believer will face in life.

Imam Ibn Kathir (رحمه الله) and Mufti Muhammad Shafi (رحمه الله) in Maarif ul Quran both note that the entire surah was revealed at once, with seventy thousand angels accompanying it — showing its immense honour and importance.

Chapter
18th — Al-Kahf (The Cave)
Verses
110 Ayaat
Period
Makki — Before Hijrah
Juz
15th & 16th
The Master Framework

The Four Great Trials of Life

Each story in Surah Al-Kahf teaches us how to face one of the four greatest tests a human being will encounter in life.

🕌 فِتْنَةُ الدِّين

Trial of Faith (Deen)

When people around you abandon or mock religion. The People of the Cave stayed firm in their faith even when the whole city was against them.

💰 فِتْنَةُ الْمَال

Trial of Wealth (Maal)

When money and possessions make a person arrogant. The Man with Two Gardens forgot to be grateful and lost everything.

📚 فِتْنَةُ الْعِلْم

Trial of Knowledge ('Ilm)

When a person thinks they know everything. Musa AS — one of the greatest prophets — was humbled by travelling with Khidr.

👑 فِتْنَةُ السُّلْطَان

Trial of Power (Sultan)

When authority and strength lead to pride. Dhul-Qarnayn used his vast power justly and humbly, saying "This is mercy from my Lord."

SPECIAL VIRTUE — FRIDAY RECITATION

مَنْ حَفِظَ عَشْرَ آيَاتٍ مِنْ أَوَّلِ سُورَةِ الْكَهْفِ عُصِمَ مِنَ الدَّجَّالِ

"Whoever memorises the first ten verses of Surah Al-Kahf will be protected from the Dajjal (the great impostor of the end times)."

(Sahih Muslim — narrated by Abu al-Darda ؓ)

Verse by Verse

Lesson by Lesson Tafsir

1
Verses 1–8
The Perfect Qur'an & The Warning
الْحَمْدُ لِلَّهِ الَّذِي أَنزَلَ عَلَىٰ عَبْدِهِ الْكِتَابَ وَلَمْ يَجْعَل لَّهُ عِوَجًا ۜ قَيِّمًا
"All praise is for Allah, who has revealed to His servant the Book, allowing no crookedness in it — upright, to warn of severe punishment from Him." (18:1–2)

What does it mean?

Surah Al-Kahf opens with Alhamdulillah — praise and gratitude to Allah for the gift of the Qur'an. The word 'iwaj (crookedness) is emphasised: this Book has no error, no contradiction, no deviation. It is perfectly straight — qayyim — like a straight road that leads directly to Allah.

Allah then mentions two purposes of the Qur'an: to warn those who reject faith of a serious punishment, and to give glad tidings to the believers who do good deeds — that they will have a beautiful reward.

Mufti Muhammad Shafi (رحمه الله) in Maarif ul Quran explains that the two descriptions — "no crookedness" (negative) and "upright" (positive) — together paint the most complete picture of the Qur'an's perfection. The negative statement removes doubt; the positive statement confirms excellence.

Lesson for Kids 🌟

The Qur'an is a perfect gift — straight, true, with no mistakes. It is both a warning for those who go astray and good news for those who stay on the right path. We should say Alhamdulillah for being blessed with it!

2
Verses 9–26
Ashaab Al-Kahf — The Sleepers of the Cave
إِذْ أَوَى الْفِتْيَةُ إِلَى الْكَهْفِ فَقَالُوا رَبَّنَا آتِنَا مِن لَّدُنكَ رَحْمَةً وَهَيِّئْ لَنَا مِنْ أَمْرِنَا رَشَدًا
"When the youths took refuge in the Cave and said: 'Our Lord! Grant us mercy from Yourself and guide us rightly through our ordeal.'" (18:10)

What does it mean?

A group of young men — described as youth, which emphasises their bravery — lived in a city ruled by a tyrant king who commanded idol worship. They refused. They believed in the One God. Facing persecution, they fled to a cave. Allah put them to sleep for 309 years (300 solar / 309 lunar years) — and when they awoke, they thought they had slept for a day or half a day!

Their dog sat at the entrance the whole time. People of the city eventually found them. A debate arose: build a mosque over them? A shrine? Allah gently tells us — don't argue unnecessarily about such things. Focus on the lesson, not the debate.

Maarif ul Quran notes that this story also taught the Prophet ﷺ and the Ummah to always say Insha'Allah when promising to do something in the future (verses 23–24). When the Prophet ﷺ forgot to say it while answering questions from the Quraysh, revelation was delayed for 15 days — as a gentle reminder.

Lesson for Kids 🌟

These were young people who had the courage to say "No!" to an entire society of idol worshippers. When you feel alone in doing what is right, remember: Allah is with you, and He can protect you in ways you cannot imagine.

3
Verses 27–31
The Company of the Righteous
وَاصْبِرْ نَفْسَكَ مَعَ الَّذِينَ يَدْعُونَ رَبَّهُم بِالْغَدَاةِ وَالْعَشِيِّ يُرِيدُونَ وَجْهَهُ
"And keep yourself patient with those who call upon their Lord morning and evening, seeking His pleasure." (18:28)

What does it mean?

After the story of the Cave, Allah gives the first cure for the fitnah of faith: the cure is to keep good company. Stay with people who remember Allah morning and evening. Don't let your eyes wander to those chasing worldly luxuries. The company you keep will shape who you become.

Then Allah contrasts two groups: the believers who will have the shade of the Garden, and the wrongdoers who will face the Fire. This is the first of four "cures" placed after each story as a practical solution to each trial.

This was revealed after some wealthy Quraysh suggested that the Prophet ﷺ dismiss the poor companions like Bilal, Suhayb, and Khabbab ؓ from his gatherings. Allah firmly commanded: do NOT do this. These sincere believers are more precious than any amount of worldly status.

Lesson for Kids 🌟

Who are your closest friends? The Prophet ﷺ said: "A person is upon the religion of his close friend, so let every one of you look at who he makes his close friend." (Abu Dawud) Choose friends who remind you of Allah.

4
Verses 32–44
The Man with Two Gardens
وَكَانَ لَهُ ثَمَرٌ فَقَالَ لِصَاحِبِهِ وَهُوَ يُحَاوِرُهُ أَنَا أَكْثَرُ مِنكَ مَالًا وَأَعَزُّ نَفَرًا
"And he had fruit, so he said to his companion, while talking with him: 'I am greater than you in wealth and mightier in people.'" (18:34)

What does it mean?

Allah tells the parable of a man blessed with two beautiful gardens — lush, fruitful, with a river flowing between them. But this man became arrogant. He told his humble, faithful companion: "I have more money than you. I have more people supporting me." He even doubted the Day of Judgement: "Even if there is a Hereafter, I will get something even better there!"

His faithful companion warned him: "Don't you believe that Allah created you from dust, then a drop, then made you into a man? At least say Masha'Allah! La Quwwata Illa Billah!" The arrogant man ignored the advice. A disaster came — his entire garden was destroyed overnight. He was left wringing his hands in regret, wishing he had never compared himself to his friend.

Maarif ul Quran points out the phrase Masha'Allah La Quwwata Illa Billah is a Sunnah to say when you see something that amazes you — wealth, beauty, health. It means "Whatever Allah wills! There is no power except with Allah." It is a shield against arrogance and the evil eye.

Lesson for Kids 🌟

Everything we have — money, health, talents, family — is a gift from Allah. It can be taken away in a single moment. The cure for the trial of wealth is gratitude. Say Alhamdulillah and Masha'Allah La Quwwata Illa Billah often!

5
Verses 60–82
Musa AS & Khidr — The Journey of Humility
قَالَ لَهُ مُوسَىٰ هَلْ أَتَّبِعُكَ عَلَىٰ أَن تُعَلِّمَنِ مِمَّا عُلِّمْتَ رُشْدًا
"Musa AS said to him: 'May I follow you so that you might teach me from what you have been taught of wisdom?'" (18:66)

What does it mean?

Musa AS — one of the five greatest prophets — was told that there was a servant of Allah who knew something he did not. Instead of feeling threatened, Musa AS immediately set out on a long journey to find and learn from him. This is itself a powerful lesson in humility.

He found this man (whom many scholars identify as Khidr ﷺ). Khidr warned Musa AS: "You will not be able to be patient with me." Musa AS promised to be patient. Then three mysterious events unfolded — each of which appeared wrong on the surface, but had a profound hidden wisdom. At the end, Khidr explained each action.

Imam Ibn Kathir reports that the identity of Khidr is debated among scholars, but the majority hold he was a righteous man — or a prophet — given special divine knowledge. Maarif ul Quran notes that this story is a reminder that Allah's wisdom is infinitely beyond human understanding. What looks like a disaster may be a hidden mercy.

Lesson for Kids 🌟

When something bad happens and you don't understand why — remember Musa AS and the damaged ship! Allah sees what we cannot see. His wisdom is perfect. Trust in Him, and learn with humility from everyone around you.

6
Verses 83–110
Dhul-Qarnayn & The Wall of Ya'juj Ma'juj
قَالَ هَٰذَا رَحْمَةٌ مِّن رَّبِّي ۖ فَإِذَا جَاءَ وَعْدُ رَبِّي جَعَلَهُ دَكَّاءَ ۖ وَكَانَ وَعْدُ رَبِّي حَقًّا
"He said: 'This is a mercy from my Lord. But when the promise of my Lord comes, He will make it level with the ground — and my Lord's promise is ever true.'" (18:98)

What does it mean?

The Quraysh asked the Prophet ﷺ about Dhul-Qarnayn — a powerful and just king who had been given authority over all the earth. He made three great journeys: to the West, to the East, and finally between two mountains where two tribes lived in fear of the destructive people known as Ya'juj and Ma'juj (Gog and Magog).

The people asked Dhul-Qarnayn to build a barrier. He asked only for their labour — refusing payment — and constructed an enormous wall of iron and molten copper that the people of Ya'juj and Ma'juj cannot scale or pierce. After completing this great feat, he said not "I did this" — but "This is a mercy from my Lord."

Mufti Muhammad Shafi (رحمه الله) in Maarif ul Quran notes that Dhul-Qarnayn's identity has been discussed by many scholars. According to Ibn Kathir, he likely lived around the time of Ibrahim ﷺ. What is clear from the Qur'an is that he was a righteous believer given immense power — and his model of leadership was justice, humility, and reliance on Allah.

Lesson for Kids 🌟

Having power, leadership, or strength is not wrong — it is a test. The cure for the trial of power is sincerity: doing everything for Allah's sake, attributing success to Him, and using your abilities to help others. This is Dhul-Qarnayn's beautiful lesson.

The surah ends with the most important verse: whoever hopes to meet their Lord should do righteous deeds and associate no partner with Allah. This is the final cure for ALL four trials — sincere worship of Allah alone.

Character & Narrative

The Four Stories at a Glance

🗻

Story 1: Ashaab Al-Kahf
People of the Cave

Brave young men left their whole city rather than worship idols. Allah protected them in a cave for 309 years. When they woke up, the world had changed — and their faith had preserved them.

Trial: Fitnah of Faith (Deen)
Cure: Keep company with the righteous (18:28)

🌿

Story 2: The Two Gardens
The Arrogant Man

A rich man was given two magnificent gardens but became boastful and forgot Allah's role in his blessing. In one night, his gardens were destroyed. His faithful friend's gentle warning — say "Masha'Allah!" — had gone unheeded.

Trial: Fitnah of Wealth (Maal)
Cure: Remember the temporary nature of the world (18:46)

🚢

Story 3: Musa AS & Khidr
The Humbled Prophet

Even the mighty Prophet Musa AS had to travel far, with patience and humility, to learn from someone given special divine knowledge. Three mysterious events taught him — and us — that Allah's wisdom goes infinitely beyond what we can see.

Trial: Fitnah of Knowledge ('Ilm)
Cure: Humility — all knowledge belongs to Allah (18:65)

🗺️

Story 4: Dhul-Qarnayn
The Just King

A mighty king who had power over all the earth — east and west — yet remained humble and just. He built a great iron wall to protect helpless people from Ya'juj and Ma'juj, and attributed the miracle entirely to Allah's mercy.

Trial: Fitnah of Power (Sultan)
Cure: Sincerity — do everything for Allah alone (18:103–104)

📊 The Four Stories — Side by Side

Story Trial Hero's Response Lesson Cure
People of the Cave Persecution for faith Fled & made dua to Allah Faith defeats fear Good company (18:28)
Two Gardens Wealth & arrogance Ignored warning, lost all Gratitude protects Remember Akhirah (18:46)
Musa AS & Khidr Limits of knowledge Humbled himself to learn Trust Allah's wisdom Humility in learning
Dhul-Qarnayn Immense power Served others with sincerity Power is a trust from Allah Pure sincerity (18:110)
The Most Complex Narrative

Musa AS & Khidr — A Deep Dive

This story is unique in the Qur'an — it shows us that even a great prophet had much to learn, and that Allah's wisdom often works through events that we cannot understand at the time.

Event 1: The Damaged Ship

Action: Khidr made a hole in the ship

Musa AS was horrified — they would all drown! But Khidr's explanation: a tyrant king was seizing every (working) ship by force. By damaging it slightly, the family's livelihood was saved. The "disaster" was actually a protection.

Event 2: The Boy

Action: Khidr took the life of a boy

Musa AS was deeply troubled. Explanation: the boy would have grown up to oppress his righteous, believing parents with his disbelief and wickedness. Allah would give them a better, more righteous child in exchange.

Event 3: The Wall

Action: Repaired a wall for a town that refused hospitality

Musa AS said — at least ask for payment! But beneath that wall was a treasure belonging to two orphan boys. Their deceased father was righteous, and Allah wanted to preserve the treasure until they grew up. A hidden mercy for the innocent.

🌊 The Deep Wisdom — For Young Minds

At the end of his explanation, Khidr ﷺ said something profound:

وَمَا فَعَلْتُهُ عَنْ أَمْرِي

"And I did not do it of my own accord." (18:82)

Everything that happens — the difficult, the confusing, the painful — has a wisdom behind it. This story teaches us to say: "I trust Allah's plan, even when I cannot see it." The ship was saved. The family was saved. The orphans were saved. Allah was working through each event — even the ones that looked like disasters.

📝 The Lesson of Musa AS for Students

  • Musa AS said "I will not give up until I reach the meeting of the two seas" — showing that seeking knowledge requires tremendous effort and dedication.
  • He approached with full humility: "May I follow you so you can teach me?" — not "I am a prophet, teach me!"
  • He kept making mistakes by objecting — showing us that even the greatest struggle to be patient when they don't understand. This is not failure; it is human.
  • The prophet (ﷺ) said about a fish escaping from their meal: "We want nothing from this journey of ours except what has afflicted us" — showing contentment in hardship while seeking knowledge.
Hands-On Learning

Activities & Exercises

🎨 Creative Art

The Four Trials Wheel

Create a large circular "wheel" divided into four sections, one for each trial. Draw the story character, write the Arabic word for the trial, and write the cure.

  • Draw a large circle and divide it into 4 equal parts
  • Label each quarter: Faith / Wealth / Knowledge / Power
  • Draw a simple scene from each story in each section
  • On the outside of each section, write the Qur'anic cure verse
  • Put it on your wall as a weekly Friday reminder
✍️ Writing

Letter to the Man in the Cave

You have just discovered that a group of young people are hiding in a cave because they refuse to worship idols in their city. Write them a letter of encouragement.

  • Imagine you know about their situation and their faith
  • Write them a letter: "Dear Brothers in the Cave..."
  • Include Qur'anic verses or hadith that would give them hope
  • Tell them what Allah's promise is for those who are patient
  • Share your letter with your class
🎭 Roleplay

The Two Gardens Debate

Act out the conversation between the wealthy arrogant man and his humble, faithful friend. Then switch roles and do it again!

  • Student A plays the arrogant garden owner
  • Student B plays the wise, humble friend
  • Use the actual ayaat from verses 34–44 as your script guide
  • The friend must say: "Masha'Allah La Quwwata Illa Billah!"
  • Discuss: What could the garden owner have done differently?
🔍 Research & Discovery

Musa AS's Three Events Journal

For each of Khidr's three mysterious actions, fill in a journal entry from Musa AS's perspective, and then from Khidr's perspective.

  • Create a two-column table: "What Musa AS Saw" | "What Allah Knew"
  • For each event, write what seemed to be happening (evil/wrong)
  • Then write the hidden wisdom that was revealed
  • Add a personal reflection: "A time I didn't understand why something happened, but later it made sense..."
  • Find one ayah from the Qur'an about trusting Allah's plan
📖 Memorisation

Friday Light — 10 Verses Challenge

The Prophet ﷺ said memorising the first ten verses protects from Dajjal. Make this your monthly goal!

  • Week 1: Memorise verses 1–3 (Opening and praise)
  • Week 2: Memorise verses 4–7 (Warning and glad tidings)
  • Week 3: Memorise verses 8–10 (The Cave supplication)
  • Week 4: Review all 10 with a friend and test each other
  • Bonus: Recite them every Friday before Jumu'ah prayer
🌙 Reflection

My Personal Fitnah Assessment

Which of the four trials do you feel is the biggest challenge in your life right now? Reflect honestly and privately.

  • In your private journal, write which fitnah you find hardest
  • Write one specific example from your daily life
  • Find the Qur'anic cure for that fitnah in Surah Al-Kahf
  • Write one small practical step you can take this week
  • Make a sincere dua asking Allah to protect you from that trial
Test Your Knowledge

Surah Al-Kahf Quiz

Question 1 of 10
Loading...
Score: 0
0 / 10

Well done!

Keep learning!

Closing Our Lesson

Dua & Reflection

اللَّهُمَّ إِنِّي أَعُوذُ بِكَ مِن فِتْنَةِ الدَّجَّالِ
"O Allah, I seek refuge in You from the trial of the Dajjal." — Recommended after reciting Surah Al-Kahf

📚 Everything We Learned from Surah Al-Kahf

  • Surah Al-Kahf is the 18th chapter, revealed in Makkah, with 110 verses — revealed all at once with 70,000 angels accompanying it.
  • It was revealed in response to trick questions posed by the Quraysh, and contains four magnificent stories as the divine answer.
  • The four stories correspond to four trials of life: Faith, Wealth, Knowledge, and Power.
  • The People of the Cave teach us: stand firm in your faith, even alone. Keep good company.
  • The Man with Two Gardens teaches us: wealth is a test. Say Masha'Allah La Quwwata Illa Billah and be grateful.
  • Musa AS and Khidr teach us: approach knowledge with humility. Allah's wisdom is beyond what our eyes can see.
  • Dhul-Qarnayn teaches us: use power and leadership with justice, humility, and sincerity for Allah alone.
  • The first and last ten verses are especially powerful — memorise them for protection from Dajjal.
  • Reciting Surah Al-Kahf every Friday brings light that shines from earth to sky on the Day of Resurrection.
  • The final verse (18:110) is the ultimate cure for all four trials: sincerely worship Allah alone and do righteous deeds.

💭 Discussion Questions for the Class

  • Which of the four trials — faith, wealth, knowledge, or power — do you think is the hardest for young people today? Why?
  • If you were the humble friend in the Two Gardens story, what would you say to the arrogant man?
  • Musa AS failed to be patient three times with Khidr. Does that mean he was weak? What does this teach us about making mistakes?
  • Dhul-Qarnayn could have taken payment for building the wall. Why did he refuse? What does this tell us about the intention behind good deeds?
  • Why do you think Allah chose to answer the Quraysh's trick questions with stories rather than simple factual answers?

The Final Verse — The Master Cure

فَمَن كَانَ يَرْجُو لِقَاءَ رَبِّهِ فَلْيَعْمَلْ عَمَلًا صَالِحًا وَلَا يُشْرِكْ بِعِبَادَةِ رَبِّهِ أَحَدًا

"So whoever hopes to meet his Lord — let him do righteous deeds and associate none as a partner in the worship of his Lord." (18:110)

The final cure — for all four trials — is sincerity in worship of Allah alone

End of Lesson Dua — Kaffaratul Majlis

سُبْحَانَكَ اللَّهُمَّ وَبِحَمْدِكَ أَشْهَدُ أَن لَا إِلَهَ إِلَّا أَنتَ أَسْتَغْفِرُكَ وَأَتُوبُ إِلَيْكَ

"Glory be to You, O Allah, and with Your praise I testify that there is no god but You. I seek Your forgiveness and turn to You in repentance."