Surah al-Kahf, "the Cave", is the 18th surah of the Quran and the one many Muslims read every Friday. Its 110 ayat tell four stories: the young men of the cave, the owner of two gardens, Musa and the knowledgeable servant of Allah, and Dhul-Qarnayn. Between them run lessons about faith, wealth, knowledge and power, and a warning about the trials of this world. This guide summarises each story from the Sahih International translation, quotes key ayat in Arabic, and explains what the narrations say about reading it on Friday and its protection from the Dajjal.
This is part of our guide to reading the Quran online with translation, audio and word-by-word. To read along, open Surah 18 with translation.
Surah Kahf at a glance
| Detail | Surah al-Kahf |
|---|---|
| Number | 18 |
| Ayat | 110 |
| Revelation | Makki (revealed in Makkah), according to most scholars |
| Location | Juz 15 and juz 16 |
| The four stories | The cave (9-26), the two gardens (32-44), Musa and the servant of Allah (60-82), Dhul-Qarnayn (83-98) |
| Reading time | Roughly 30 to 45 minutes, depending on pace |
The opening: the world as a test (ayat 1-8)
بِسْمِ ٱللَّهِ ٱلرَّحْمَٰنِ ٱلرَّحِيمِ ٱلْحَمْدُ لِلَّهِ ٱلَّذِىٓ أَنزَلَ عَلَىٰ عَبْدِهِ ٱلْكِتَٰبَ وَلَمْ يَجْعَل لَّهُۥ عِوَجَا ۜ ﴿١﴾ قَيِّمًۭا لِّيُنذِرَ بَأْسًۭا شَدِيدًۭا مِّن لَّدُنْهُ وَيُبَشِّرَ ٱلْمُؤْمِنِينَ ٱلَّذِينَ يَعْمَلُونَ ٱلصَّٰلِحَٰتِ أَنَّ لَهُمْ أَجْرًا حَسَنًۭا ﴿٢﴾
"[All] praise is [due] to Allah, who has sent down upon His Servant the Book and has not made therein any deviance. [He has made it] straight, to warn of severe punishment from Him and to give good tidings to the believers who do righteous deeds that they will have a good reward" (Quran 18:1-2)
The surah begins with praise for the Book that has "not made therein any deviance", and warns those who claim Allah has taken a son. Then comes the key to all four stories:
إِنَّا جَعَلْنَا مَا عَلَى ٱلْأَرْضِ زِينَةًۭ لَّهَا لِنَبْلُوَهُمْ أَيُّهُمْ أَحْسَنُ عَمَلًۭا
"Indeed, We have made that which is on the earth adornment for it that We may test them [as to] which of them is best in deed." (Quran 18:7)
Everything attractive on earth is "adornment" and a test, and one day it will become barren ground (18:8). Each story that follows shows people facing that test.
Story 1: The young men of the cave (ayat 9-26)
إِذْ أَوَى ٱلْفِتْيَةُ إِلَى ٱلْكَهْفِ فَقَالُوا۟ رَبَّنَآ ءَاتِنَا مِن لَّدُنكَ رَحْمَةًۭ وَهَيِّئْ لَنَا مِنْ أَمْرِنَا رَشَدًۭا
"[Mention] when the youths retreated to the cave and said, "Our Lord, grant us from Yourself mercy and prepare for us from our affair right guidance."" (Quran 18:10)
A group of young believers, living among people who worshipped others besides Allah, declared: "Our Lord is the Lord of the heavens and the earth" (18:14). They withdrew to a cave and asked for mercy and guidance. Allah covered their ears with sleep for many years. The sun moved away from the cave as it rose and set, their dog lay stretched at the entrance, and anyone who saw them would have fled in fear (18:17-18).
When they woke they thought they had slept "a day or part of a day" and sent one of them carefully to the city with a silver coin to buy food (18:19). Their discovery became a sign "that the promise of Allah is truth and that of the Hour there is no doubt" (18:21). The Quran tells us they stayed "three hundred years and exceeded by nine" (18:25), and it deliberately discourages arguing over their number (18:22). In the middle of the story is a lesson for daily life: never say you will do something tomorrow without adding "If Allah wills" (18:23-24).
Lesson: holding on to faith when your surroundings pull you away from it, and trusting Allah with the outcome.
Story 2: The man with two gardens (ayat 32-44)
Allah gave one man two gardens of grapevines bordered with palms, with crops between and a river running through. Proud of his wealth, he told his poorer companion: "I am greater than you in wealth and mightier in [numbers of] men" (18:34), and said he did not think his garden would ever perish or that the Hour would come. His companion reminded him of his creation from dust and asked:
وَلَوْلَآ إِذْ دَخَلْتَ جَنَّتَكَ قُلْتَ مَا شَآءَ ٱللَّهُ لَا قُوَّةَ إِلَّا بِٱللَّهِ ۚ إِن تَرَنِ أَنَا۠ أَقَلَّ مِنكَ مَالًۭا وَوَلَدًۭا
"And why did you, when you entered your garden, not say, 'What Allah willed [has occurred]; there is no power except in Allah '? Although you see me less than you in wealth and children," (Quran 18:39)
The garden was ruined, collapsing on its trellises, and the owner wrung his hands, saying "Oh, I wish I had not associated with my Lord anyone" (18:42). The surah follows it with a parable of rain and vegetation that turns to dry remnants (18:45) and a famous ayah: "Wealth and children are [but] adornment of the worldly life. But the enduring good deeds are better to your Lord for reward and better for [one's] hope" (18:46).
Lesson: wealth is a test; gratitude and saying ma sha' Allah, la quwwata illa billah protect the heart from arrogance.
Story 3: Musa and the servant of Allah (ayat 60-82)
Musa (peace be upon him) set out with his young companion to reach "the junction of the two seas" (18:60), where he met "a servant from among Our servants to whom we had given mercy from us and had taught him from Us a [certain] knowledge" (18:65). This servant is known in the hadith and tafsir as al-Khidr. Musa asked to follow him and learn; he was told he would not be able to be patient.
Three events followed: the servant damaged a boat belonging to poor people, took the life of a boy, and rebuilt a collapsing wall in a town that had refused them food. Each time Musa objected. At the end the servant explained: the boat was saved from a king who seized every good ship; the boy's believing parents would be given a better child; and the wall protected the treasure of two orphans whose father had been righteous (18:79-82). "And I did it not of my own accord" (18:82).
Lesson: humility in knowledge. Allah's wisdom is behind events we do not understand, and even a great prophet is shown that there is always more to learn.
Story 4: Dhul-Qarnayn (ayat 83-98)
Dhul-Qarnayn was a ruler whom Allah "established upon the earth" and gave the means to everything (18:84). He travelled to the west and the east, ruling justly: punishing the wrongdoer and treating the believer with ease (18:87-88). Then he reached a people between two mountains who were troubled by Gog and Magog. He refused their payment, saying what Allah had given him was better, and built a barrier of iron and molten copper (18:95-96). His response when it was done:
قَالَ هَٰذَا رَحْمَةٌۭ مِّن رَّبِّى ۖ فَإِذَا جَآءَ وَعْدُ رَبِّى جَعَلَهُۥ دَكَّآءَ ۖ وَكَانَ وَعْدُ رَبِّى حَقًّۭا
"[Dhul-Qarnayn] said, "This is a mercy from my Lord; but when the promise of my Lord comes, He will make it level, and ever is the promise of my Lord true."" (Quran 18:98)
Lesson: power used justly, as a trust from Allah, without pride. Historians and commentators have discussed who Dhul-Qarnayn was; the Quran does not name him, and the lesson does not depend on it.
For detailed commentary on all four stories, read the tafsir of surah 18.
The closing: the greatest losers and the true path (ayat 99-110)
The surah ends by describing "the greatest losers": "those whose effort is lost in worldly life, while they think that they are doing well in work" (18:103-104). It closes with the formula for success:
قُلْ إِنَّمَآ أَنَا۠ بَشَرٌۭ مِّثْلُكُمْ يُوحَىٰٓ إِلَىَّ أَنَّمَآ إِلَٰهُكُمْ إِلَٰهٌۭ وَٰحِدٌۭ ۖ فَمَن كَانَ يَرْجُوا۟ لِقَآءَ رَبِّهِۦ فَلْيَعْمَلْ عَمَلًۭا صَٰلِحًۭا وَلَا يُشْرِكْ بِعِبَادَةِ رَبِّهِۦٓ أَحَدًۢا
"Say, "I am only a man like you, to whom has been revealed that your god is one God. So whoever would hope for the meeting with his Lord - let him do righteous work and not associate in the worship of his Lord anyone."" (Quran 18:110)
Reading Surah al Kahf on Friday: the narrations
The practice of reading al-Kahf on Friday comes from narrations outside Sahih al-Bukhari and Sahih Muslim. Abu Sa'id al-Khudri reported the Prophet ﷺ as saying: "If anyone recites sūra al-Kahf on Friday, light will shine brightly for him till the next Friday." Mishkat al-Masabih cites it from al-Bayhaqi (Mishkat al-Masabih, no. 2078 (Masaajidh edition)). Scholars have discussed the chains of this narration and similar ones. Many accept that reading al-Kahf on Friday is recommended, while others regard the reports as weak. It is a widely followed practice; ask a qualified teacher if you want the details.
When on Friday? Many scholars explain that the Islamic day begins at sunset, so the time for Friday's reading runs from Maghrib on Thursday until Maghrib on Friday. You can read it in one sitting or spread it across the day. Our guide to Jummah prayer: time, etiquette and the Friday khutbah covers the rest of the day's Sunnahs.
Protection from the Dajjal: the authentic narration
Here the evidence is in Sahih Muslim. Abu ad-Darda' reported that the Prophet ﷺ said: "If anyone learns by heart the first ten verses of the Surah al-Kahf, he will be protected from the Dajjal." (Sahih Muslim, no. 1775 (Masaajidh edition)) In one chain the narrator said "at the end of Surah al-Kahf" instead of the beginning (Sahih Muslim, no. 1776 (Masaajidh edition)), so many people memorise both the first ten and the last ten ayat.
In the long hadith of an-Nawwas ibn Sam'an about the Dajjal, the Prophet ﷺ said: "He who amongst you would survive to see him should recite over him the opening verses of Sura Kahf." (Sahih Muslim, no. 7189 (Masaajidh edition)) Al-Bara' also reported that when a man recited al-Kahf, a cloud came down over him and his horse grew restless; the Prophet ﷺ said: "That was As-Sakina (tranquility) which descended because of (the recitation of) the Qur'an." (Sahih al-Bukhari, no. 4804 (Masaajidh edition))
A simple Friday plan
- Thursday after Maghrib: read ayat 1-31 (opening and the cave).
- Friday morning: read 32-59 (two gardens, Iblis, the Day).
- Before or after Jumu'ah: read 60-110 (Musa, Dhul-Qarnayn, the closing).
- Memorise ayat 1-10 over a few Fridays, one or two ayat a week.
If you are just starting your Quran journey, make sure al-Fatiha is right first; see Surah Al-Fatiha: meaning of every ayah. For a single verse to recite every night, see Ayatul Kursi: Arabic, translation and meaning (2:255).
Conclusion: four stories for four trials
Surah al-Kahf prepares the believer for the trials of faith, wealth, knowledge and power, and for the greatest trial of all, the Dajjal. Read it each Friday, memorise its first ten ayat, and let its closing ayah guide your week: righteous work, and no partner with Allah in worship. Open Surah al-Kahf with translation and audio and start this Friday.
Keep learning:
- Read Quran Online: A Guide to Translations, Audio and Word-by-Word
- Surah Al-Fatiha: Meaning of Every Ayah
- Ayatul Kursi: Arabic, Translation and Meaning (2:255)
Frequently asked questions
Why do Muslims read Surah al-Kahf on Friday?
A narration reported by al-Bayhaqi and cited in Mishkat al-Masabih says that whoever recites al-Kahf on Friday will have light shining for him until the next Friday. It is not in Bukhari or Muslim, and scholars discuss its chains; many accept the practice as recommended. Ask a qualified teacher if you want the details of its grading.
What are the four stories in Surah al-Kahf?
The four stories are the young believers who slept in the cave for 309 years, the proud owner of two gardens whose wealth was destroyed, Musa's journey with the knowledgeable servant of Allah known as al-Khidr, and Dhul-Qarnayn, the just ruler who built a barrier against Gog and Magog. Many teachers link them to trials of faith, wealth, knowledge and power.
Which verses of Surah al-Kahf protect from the Dajjal?
Sahih Muslim reports that whoever memorises the first ten verses of al-Kahf will be protected from the Dajjal. One narrator's version says the last ten verses, so many people learn both. In another narration in Sahih Muslim the Prophet told anyone who meets the Dajjal to recite the opening verses of al-Kahf over him.
When does Friday start for reading Surah al-Kahf?
Many scholars explain that the Islamic day starts at sunset, so the time for reading al-Kahf on Friday begins at Maghrib on Thursday evening and ends at Maghrib on Friday. You can read it all at once or in parts during that time. If you miss it one week, simply read it the next Friday.

