The Ashab El-Kahf Story in the Quran for Muslim Kids

Imagine a group of young men so brave in their faith that Allah put them to sleep for over 300 years and woke them up to prove His power to the world. The ashab e kahf story in the quran for kids is one of the most extraordinary tales in all of Islamic history, and it belongs in every Muslim child’s heart. 

image 338

The ashab al-kahf story — the story of the people of the cave — is told in Surah Al-Kahf (Chapter 18), a chapter the Prophet ﷺ encouraged Muslims to recite every Friday. It teaches children that standing firm in what is right, even when everyone around you disagrees, is one of the greatest acts of faith a person can do.

At Islamic Studies for Kids Academy, the Islamic Stories Course for Kids Online brings Quranic stories like this one to life in child-friendly English, taught by Al-Azhar-certified tutors trained to inspire young learners.

Here is where the story begins, with young men who believed in Allah

Long ago, in a city far away, there were some young men. Everyone around them worshipped statues and idols. But these young men believed in only one Allah.

They were brave. They were different. And their hearts were full of faith.

Then came the moment they had to make a very hard choice

The king of their city did not like that they believed in Allah. He wanted them to bow down to the idols. But the young men refused.

image 332

They said to each other: “Our Lord is the Lord of the heavens and the earth. We will never call on any god besides Him.”

They knew they could not stay in that city. So they made a plan.

And here is how they found themselves running toward the cave

The young men quietly left the city. They ran through the hills. With them was their loyal dog, who walked faithfully by their side.

image 333

They came to a cool, quiet cave in the mountains. It felt safe. They went inside and prayed to Allah to protect them.

They said: “Our Lord, grant us mercy from Yourself and guide us rightly in our affairs.”

Now the story moves to something only Allah could do

As they rested in the cave, something amazing happened. Allah sent a deep, peaceful sleep over them. Not a normal sleep, a very special, long sleep.

Their eyes closed. The cave was still. Their dog stretched out near the entrance, keeping watch.

image 334

Allah turned them gently from side to side so they would not be harmed. The sun would rise and set, shining past them without burning them.

Here is the strange and wonderful scene inside the cave

If you had walked past the cave, you might have been afraid. The young men looked awake, but they were sleeping deeply. Their dog lay at the door.

Allah says in the Quran that anyone who saw them would have turned and run away. But they were perfectly safe. Allah was watching over every single one of them.

And this is when the world outside changed completely

Years passed. Then more years. Then many, many more. The cruel king died. New people came. New rulers arrived. The city changed.

The people of the new city were searching for the truth about Allah. They were arguing, was there truly life after death? Could Allah really bring people back?

image 335

Then came the moment they woke up, as if no time had passed

Suddenly, the young men opened their eyes. They stretched and looked at each other. They felt like they had just taken a short nap.

One of them said: “How long did we sleep?” Another said: “Maybe a day, or part of a day.” They honestly did not know.

They were hungry. So they sent one of their companions into the city to buy food, quietly, without drawing attention.

Here is what the young man found when he reached the city

The young man walked into the city. But everything looked different. The streets were different. The buildings were different. The people were different.

He took out his old coins to pay for food. The shopkeeper stared at him. “Where did you get these?” the people asked. “These coins are ancient!”

image 336

Word spread quickly. The leaders of the city came to find him.

Read also: Bird Stories in the Quran for Kids — Ababil, Hudhud, and the Birds of Prophet Ibrahim

Experience a Real Classroom 

Curious about how we teach? This video offers a glimpse into a real class, showcasing our interactive approach, qualified teachers, and child-friendly learning experience.

Fun & Engaging Islamic Classes for Kids

Start your child’s journey today with interactive lessons designed to make learning Islam loved and easy.

Get Your Child a Free Trial

And this is the miracle that answered the city’s biggest question

The young man told the whole story. The city’s leaders followed him back to the cave. There they found the other young men, alive, awake, and well.

The people understood. This was a sign from Allah. Yes, there IS life after death. Yes, Allah CAN bring people back. The ashab al-kahf story was the proof they needed.

The young men had slept for 309 years, and Allah had kept them safe through every single one.

Here is where the story of the people of the cave reaches its end

After the young men spoke, Allah took their souls in peace. They had done what they were meant to do. Their story would be told for all time.

The people of the city built a place of remembrance near the cave, so that no one would ever forget the miracle of the ashab e kahf. And Allah preserved their story in the Quran, forever.

Where the Ashab e Kahf Story Comes From in the Quran

The story of the cave in the Quran is found in Surah Al-Kahf (18:9–26). Allah addresses the Prophet ﷺ directly at the start:

أَمْ حَسِبْتَ أَنَّ أَصْحَـٰبَ ٱلْكَهْفِ وَٱلرَّقِيمِ كَانُوا۟ مِنْ ءَايَـٰتِنَا عَجَبًا
Am ḥasibta anna aṣḥāba l-kahfi wa-r-raqīmi kānū min āyātinā ʿajabā
“Or have you thought that the companions of the cave and the inscription were, among Our signs, a wonder?” (Al-Kahf 18:9)

وَرَبَطْنَا عَلَىٰ قُلُوبِهِمْ إِذْ قَامُوا۟ فَقَالُوا۟ رَبُّنَا رَبُّ ٱلسَّمَـٰوَٰتِ وَٱلْأَرْضِ
Wa-rabaṭnā ʿalā qulūbihim idh qāmū fa-qālū rabbunā rabbu s-samāwāti wa-l-arḍ
“And We made firm their hearts when they stood up and said: Our Lord is the Lord of the heavens and the earth.” (Al-Kahf 18:14)

فَضَرَبْنَا عَلَىٰٓ ءَاذَانِهِمْ فِى ٱلْكَهْفِ سِنِينَ عَدَدًا
Fa-ḍarabnā ʿalā ādhānihim fī l-kahfi sinīna ʿadadā
“So We cast [a cover of sleep] over their ears within the cave for a number of years.” (Al-Kahf 18:11)

The Prophet ﷺ said: “Whoever reads Surah Al-Kahf on Friday, a light will shine for him between the two Fridays.” (Sahih Muslim)

Comprehension Questions

1. Why did the young men have to leave their city?

2. What did they say to each other before they entered the cave?

3. What did Allah do to protect them while they slept inside the cave?

4. For how many years did the ashab e kahf sleep in the cave?

5. What happened when the young man tried to pay for food with his old coins?

6. What big question did the people of the city have, and how did this story answer it?

Moral of the Ashab e Kahf Story 

The Ashab e Kahf story for kids teaches us that when you choose Allah over everything else, Allah will take care of everything else. These young men gave up their home, their city, and their comfort, and Allah protected them for over 300 years. The lesson every child can carry is this: be brave enough to stand for what is right, and trust that Allah never forgets those who trust Him.

Watch a Sample Lesson from Our Academy

Get a firsthand look at how our students learn Islamic values, Quran, and essential knowledge through engaging and interactive online classes. See why families trust Islamic Studies for Kids Academy. 

Give Your Child the Faith to Stand Firm!

The story of the people of the cave shows what it means to choose Allah and to be chosen by Him in return.

Islamic Studies for Kids Academy helps Muslim children in Western households build exactly that kind of grounded faith, with:

  • Al-Azhar-certified tutors trained in child-appropriate Islamic instruction
  • All lessons in English, no Arabic background needed at home
  • 1-on-1 and small-group sessions with real-time feedback
  • Flexible scheduling across US, UK, Australia, and global time zones
  • Courses in Quran stories, Aqeedah, Seerah, Islamic manners, and more

Parents who want their children to truly connect with this surah will find the Islamic Stories for Kids program at Islamic Studies for Kids Academy an ideal place to start. Pairing the recitation with the story makes the meaning unforgettable for young learners.

Start your FREE trial of Our Islamic Stories Course for Kids Online today! 

image 337

Our Islamic Studies Courses Include:

Enroll today and give your child the knowledge, values, and confidence to grow as a practicing Muslim with a strong connection to Allah and His teachings.

Fun & Engaging Islamic Classes for Kids

Start your child’s journey today with interactive lessons designed to make learning Islam loved and easy.

Get Your Child a Free Trial

Conclusion

The ashab e kahf story in the Quran for kids is one of Islam’s most powerful reminders that faith is stronger than any king, any army, or any number of years. These young men chose Allah, and Allah chose to make their story a miracle for all of humanity to read until the end of time. 

Sharing the story of the cave in the Quran with your child plants the seed of a faith that doesn’t bend under pressure. At Islamic Studies for Kids Academy, we help Muslim children in Western households grow that kind of faith, with qualified teachers, structured lessons, and stories that last a lifetime.

Read also: The Story of Maryam in the Quran for Kids

Frequently Asked Questions

How many years did the Ashab e Kahf sleep in the cave?

The Ashab e Kahf slept in the cave for 309 lunar years, as stated clearly in the Quran in Surah Al-Kahf 18:25. This equals approximately 300 solar years. The Quran does not confirm the exact number of sleepers, but mentions that some said three, some said five, and some said seven, with the knowledge of the true number belonging to Allah alone (Al-Kahf 18:22).

What is the main lesson of the Ashab e Kahf story for kids?

The main lesson of the Ashab e Kahf story for kids is that genuine faith in Allah gives you the courage to stand alone when everyone around you is wrong. These young men refused to worship idols even when it cost them their home, and Allah rewarded their sincerity with a miracle that spoke to all of humanity. The story of the people of the cave teaches children that Allah protects those who protect their faith.

Is there a dog in the Ashab al-Kahf story, and what does the Quran say about it?

Yes, the ashab al-kahf story in the Quran does mention a dog that was with the young men and lay at the entrance of the cave (Al-Kahf 18:18). The Quran does not give the dog a name. 
The dog’s loyalty and presence are noted as part of the scene Allah describes; it is one of the small, vivid details that make the story of the cave in the Quran feel so real and alive.

At what age should I share the Ashab e Kahf story with my child?

The Ashab e Kahf story for kids is suitable for children as young as 5–6 in its simplest form, focusing on the young men, the long sleep, and the miracle of waking up. Children ages 8 and up can engage with the deeper themes of faith, resurrection, and why Allah preserved this story in the Quran. The Islamic Stories Course for Kids Online at Islamic Studies for Kids Academy is structured for ages 4–15.

Which Surah tells the story of the seven sleepers in the Quran?

The story of the seven sleepers in the Quran, known as Ashab al-Kahf, is told in Surah Al-Kahf, Chapter 18, verses 9 to 26. Surah Al-Kahf is one of the most recommended surahs in Islamic practice; the Prophet ﷺ encouraged Muslims to recite it every Friday as a source of spiritual light and protection (Sahih Muslim).

How can I help my child learn Quranic stories like Ashab e Kahf in English?

The best way to help your child engage with Quranic stories in English is through structured Islamic education from qualified teachers. 
Islamic Studies for Kids Academy offers the Quran Stories for Kids and Islamic Stories Course for Kids Online, both taught in English by Al-Azhar-certified tutors trained in child instruction, with 1-on-1 and small-group options and flexible scheduling across US, UK, Australia, and global time zones.

Leave a Reply

Your email address will not be published. Required fields are marked *