Skip to main content
All stories
A story from the Qur’an

The Companions of the Cave

A handful of young men who believed in God alone in a city entirely against them — and slept in a cave for three hundred years and nine.

Move your finger over the scene to turn it

  1. Young men who believed

    God describes them as “fitya” — young men. They believed in their Lord at a time when no one else did, so God increased them in guidance and made their hearts firm.

  2. Escape to the cave

    When it became too dangerous they left everything and went out to a cave in the mountain, saying as they entered: “Our Lord, grant us mercy from Yourself, and set our affair right for us.”

  3. The long sleep

    God sealed their ears in the cave for a number of years — three hundred years, and nine more. The sun would turn away from their cave so it would not harm them, and their dog lay with its forelegs stretched out at the entrance.

  4. Waking

    Then God raised them, and they thought they had slept a day or part of a day. When one of them went down to the city with his old coins, the people learned their story — and it became a sign of God’s power.

From the Qur’an

﴿إِذْ أَوَى ٱلْفِتْيَةُ إِلَى ٱلْكَهْفِ فَقَالُوا۟ رَبَّنَآ ءَاتِنَا مِن لَّدُنكَ رَحْمَةًۭ وَهَيِّئْ لَنَا مِنْ أَمْرِنَا رَشَدًۭا

When the young men took refuge in the cave and said: “Our Lord, grant us mercy from Yourself, and prepare for us right guidance in our affair.”

Qur’an 18:10

﴿نَّحْنُ نَقُصُّ عَلَيْكَ نَبَأَهُم بِٱلْحَقِّ ۚ إِنَّهُمْ فِتْيَةٌ ءَامَنُوا۟ بِرَبِّهِمْ وَزِدْنَٰهُمْ هُدًۭى

We relate to you their story in truth. They were young men who believed in their Lord, and We increased them in guidance.

Qur’an 18:13

The lesson

Being few or being young does not matter. These were a handful of teenagers — God protected them for three centuries and put their story in His Book, where it still is.

Sources for this lesson

Want a teacher to take you through it?

Certified male and female Qur’an teachers on Almohafez, one-to-one online sessions — and the first introductory session is free.

Browse teachers

﴿رَبِّ زِدْنِي عِلْمًا﴾

This page is simplified teaching material, not a fatwa. For questions specific to your situation, refer to a recognised authority such as Egypt’s Dar al-Ifta or Al-Azhar.