1 · Who they were
Aṣḥāb al-Kahf — "the Companions of the Cave" — were a group of young men who believed in the Oneness of Allah while their people worshipped idols under a tyrant king who persecuted believers. The sūrah "al-Kahf" (The Cave) is named after them.
2 · Their faith & flight to the cave
They openly declared their faith and refused to worship anything besides Allah. To protect their religion they withdrew from their people and took refuge in a cave, trusting Allah completely.
3 · The long sleep
Allah caused them to sleep for many years. He turned them to the right and the left to preserve their bodies, and their dog lay at the entrance with its forelegs stretched out — a sight that would fill an onlooker with awe. They remained for three hundred years, plus nine (≈ 300 solar / 309 lunar years).
4 · The awakening & the sign
When Allah woke them, they thought they had slept only "a day or part of a day." They sent one of them with a silver coin to buy food discreetly. The outdated coin and the changed city revealed that centuries had passed. Their story became a public proof of the Resurrection — that Allah's promise is true.
5 · Their number — Allah knows best
People guessed they were three (plus the dog), or five, or seven. The Qur'an teaches not to argue over such unseen details:
6 · Lessons
- Holding firm to faith even when all of society is astray — and sacrificing comfort to protect it.
- Trust in Allah (tawakkul) — they fled with no plan but reliance on His mercy, and He protected and provided.
- Proof of the Resurrection — the sleep and awakening show Allah's power over life and time.
- Righteous companionship — they strengthened one another in faith.
- Restraint in the unseen — say "Allah knows best" about details only He knows (e.g. their number).
- Always add "In shā' Allah" when intending a future action (taught right after, 18:23–24).
Fast facts
| Item | Detail |
|---|---|
| Who | Young men (believers) under an idol-worshipping tyrant king |
| Where | A cave (al-Kahf) they fled to, to protect their faith |
| How long | 300 years + 9 (≈ 300 solar / 309 lunar) |
| The dog | Lay at the entrance, forelegs stretched out |
| The sign | An old silver coin revealed the centuries had passed |
| Their number | Disputed (3 / 5 / 7 + dog) — "My Lord knows best" |
| Source | Sūrah al-Kahf 18:9–26 |
Key āyāt
| Reference | Point |
|---|---|
| al-Kahf 18:10 | Their duʿāʾ: "grant us mercy and right guidance" |
| al-Kahf 18:18 | Turned right & left; the dog at the entrance |
| al-Kahf 18:22 | "My Lord is most knowing of their number" — don't argue over the unseen |
| al-Kahf 18:25 | "Three hundred years and exceeded by nine" |
Lessons
| Lesson |
|---|
| Hold firm to faith even against the whole society |
| Trust in Allah (tawakkul) — He protects and provides |
| A living proof of the Resurrection |
| Value of righteous companionship |
| Restraint about the unseen + say "In shā' Allah" |