AyaSeerah study sheet · Surah 18 · Makkah · 110 āyāt
Al-KahfThe Cave
الكهف
A late-Makkan surah built around four stories, each one a trial: faith (the youths of the Cave), wealth (the two garden owners), knowledge (Mūsā and al-Khiḍr) and power (Dhul-Qarnayn). Between the stories the surah keeps returning to one antidote — remembering Allah, holding to sincere company, and measuring everything against the meeting with your Lord. The Prophet ﷺ tied it to protection from the greatest trial of all, the Dajjāl.
Why it was revealed
Quraysh sent two men to the rabbis of Yathrib to test the Prophet ﷺ. They were told to ask about three things: some youths who disappeared long ago, a man who travelled to the ends of the earth, and the rūḥ (spirit). The answers came in this surah — but only after a pause, because he ﷺ had promised an answer 'tomorrow' without saying 'in shāʾ Allāh'.
Ibn ʿAbbās reported that Quraysh sent an-Naḍr ibn al-Ḥārith and ʿUqbah ibn Abī Muʿayṭ to the Jewish scholars of Madinah, who told them: ask him about these three matters — if he answers, he is a prophet. Revelation was withheld for a period before Sūrat al-Kahf came with the answers, and with āyāt 23–24: 'And never say of anything, I will surely do that tomorrow — except [when adding], if Allah wills.'
Ibn Hishām, al-Sīrah (via Ibn Isḥāq); Ibn Kathīr, Tafsīr, introduction to Sūrat al-Kahf
- c. 7–5 BH · MakkahQuraysh look for a test — Unable to answer the Qur'an, the leaders of Makkah sought a way to expose the Prophet ﷺ as a fraud, and turned to the People of the Book for questions only a prophet could answer.
- c. 7–5 BH · Yathrib → MakkahThe three questions from Yathrib — The rabbis named three tests: the youths who fled to a cave, the far-travelling king, and the nature of the rūḥ. Kahf answers the first two; the third is answered in 17:85.
- c. 7–5 BH · MakkahThe promise made without 'in shāʾ Allāh' — He ﷺ said, 'Come back tomorrow and I will tell you,' without saying 'if Allah wills'. Revelation paused, and Quraysh mocked — then it came with a correction embedded in the surah itself.
- c. 7–5 BH · MakkahPressure to abandon the poor believers — The chiefs offered to sit with him ﷺ only if he sent away Bilāl, Ṣuhayb, ʿAmmār and the other weak converts. Āyah 28 refuses: keep yourself patient with those who call upon their Lord morning and evening.
- Madinan practice onwards · MadinahThe Prophet ﷺ ties the surah to protection — 'Whoever memorises ten āyāt from the beginning of Sūrat al-Kahf will be protected from the Dajjāl,' and reciting it on Friday lights the week between the two Fridays.
The straight Book: praise, warning, and a Prophet who grieves
The surah opens by praising Allah for a Book with no crookedness in it — a warning for those who claim He has a son, and glad tidings for the believers. Then it consoles the Prophet ﷺ, who was destroying himself with grief over their refusal, and reframes the whole world as an adornment placed there as a test, destined to become barren dust.
ٱلْحَمْدُ لِلَّهِ ٱلَّذِىٓ أَنزَلَ عَلَىٰ عَبْدِهِ ٱلْكِتَـٰبَ وَلَمْ يَجْعَل لَّهُۥ عِوَجَا ۜ
[All] praise is [due] to Allāh, who has sent down upon His Servant [Muḥammad (ﷺ)] 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 [i.e., Paradise].
From the tafsīr
'No crookedness' means the Book is straight, moderate, without contradiction or deviation — it says plainly what earlier scriptures blurred.
— Ibn Kathīr
The earth's adornment (āyah 7) is not condemned; it is described as a test — the question is not whether beauty exists but what you do in front of it.
— Al-Saʿdī
Key takeaways
- The Qur'an's first claim about itself is straightness — no distortion, no hidden agenda.
- Grief over people's rejection is human, but Allah reminds His Prophet ﷺ that guidance is not his burden to force.
- Everything attractive on earth is deliberately placed as an exam question, not a reward.
My notes
Trial of faith: the youths of the Cave
Young men in a hostile city choose their faith over their society, withdraw to a cave, and are put to sleep for over three centuries. Their only strategy is a duʿāʾ — mercy from You, and right guidance in our affair — and Allah takes over from there: He guards their hearts, their bodies, even the turning of their sides.
إِذْ أَوَى ٱلْفِتْيَةُ إِلَى ٱلْكَهْفِ فَقَالُوا۟ رَبَّنَآ ءَاتِنَا مِن لَّدُنكَ رَحْمَةً وَهَيِّئْ لَنَا مِنْ أَمْرِنَا رَشَدًا
[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."
وَلَا تَقُولَنَّ لِشَا۟ىْءٍ إِنِّى فَاعِلٌ ذَٰلِكَ غَدًا
And never say of anything, "Indeed, I will do that tomorrow,"
إِلَّآ أَن يَشَآءَ ٱللَّهُ ۚ وَٱذْكُر رَّبَّكَ إِذَا نَسِيتَ وَقُلْ عَسَىٰٓ أَن يَهْدِيَنِ رَبِّى لِأَقْرَبَ مِنْ هَـٰذَا رَشَدًا
Except [when adding], "If Allāh wills." And remember your Lord when you forget [it] and say, "Perhaps my Lord will guide me to what is nearer than this to right conduct."
From the tafsīr
They were youths, and youth is more accepting of truth than the elders entrenched in their ways; Allah calls them fityah and says 'We increased them in guidance' after they believed.
— Ibn Kathīr
Their withdrawal was not escapism but preservation of dīn when open practice was impossible — a licence, not a permanent ideal.
— Al-Qurṭubī
Key takeaways
- Faith may cost you your place in society; the surah treats that cost as normal, not exceptional.
- When you take one step toward Allah with sincerity, He increases you in guidance beyond your own effort.
- Never bind your future to your own will — say in shāʾ Allāh, and return to remembrance when you forget.
My notes
Trial of wealth: the two men and the two gardens
One man has two flourishing gardens and concludes he is permanent and favoured; his poor companion answers not with envy but with theology — say mā shāʾa Allāh, lā quwwata illā billāh. The garden is destroyed overnight, and the surah gives its verdict: wealth and children are the ornament of this life, but the enduring good deeds are better with your Lord.
وَٱصْبِرْ نَفْسَكَ مَعَ ٱلَّذِينَ يَدْعُونَ رَبَّهُم بِٱلْغَدَوٰةِ وَٱلْعَشِىِّ يُرِيدُونَ وَجْهَهُۥ ۖ وَلَا تَعْدُ عَيْنَاكَ عَنْهُمْ تُرِيدُ زِينَةَ ٱلْحَيَوٰةِ ٱلدُّنْيَا ۖ وَلَا تُطِعْ مَنْ أَغْفَلْنَا قَلْبَهُۥ عَن ذِكْرِنَا وَٱتَّبَعَ هَوَىٰهُ وَكَانَ أَمْرُهُۥ فُرُطًا
And keep yourself patient [by being] with those who call upon their Lord in the morning and the evening, seeking His face [i.e., acceptance]. And let not your eyes pass beyond them, desiring adornments of the worldly life, and do not obey one whose heart We have made heedless of Our remembrance and who follows his desire and whose affair is ever [in] neglect.
وَٱضْرِبْ لَهُم مَّثَلَ ٱلْحَيَوٰةِ ٱلدُّنْيَا كَمَآءٍ أَنزَلْنَـٰهُ مِنَ ٱلسَّمَآءِ فَٱخْتَلَطَ بِهِۦ نَبَاتُ ٱلْأَرْضِ فَأَصْبَحَ هَشِيمًا تَذْرُوهُ ٱلرِّيَـٰحُ ۗ وَكَانَ ٱللَّهُ عَلَىٰ كُلِّ شَىْءٍ مُّقْتَدِرًا
And present to them the example of the life of this world, [its being] like rain which We send down from the sky, and the vegetation of the earth mingles with it and [then] it becomes dry remnants, scattered by the winds. And Allāh is ever, over all things, Perfect in Ability.
ٱلْمَالُ وَٱلْبَنُونَ زِينَةُ ٱلْحَيَوٰةِ ٱلدُّنْيَا ۖ وَٱلْبَـٰقِيَـٰتُ ٱلصَّـٰلِحَـٰتُ خَيْرٌ عِندَ رَبِّكَ ثَوَابًا وَخَيْرٌ أَمَلًا
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.
From the tafsīr
His sin was not wealth but attributing it to himself and doubting the Hour: 'I do not think that this will ever perish.' Ownership without gratitude becomes denial.
— Ibn Kathīr
'Al-bāqiyāt aṣ-ṣāliḥāt' was explained by the Salaf as subḥān Allāh, al-ḥamdu lillāh, lā ilāha illā Allāh and Allāhu akbar, and more broadly every act of obedience that outlasts you.
— Al-Ṭabarī
Key takeaways
- Wealth turns dangerous the moment you say 'mine' instead of 'His'.
- The believer's reply to blessing is mā shāʾa Allāh, lā quwwata illā billāh.
- Sit with those who call on their Lord morning and evening, even if the powerful want you elsewhere (āyah 28).
My notes
Trial of knowledge: Mūsā and al-Khiḍr
Mūsā عليه السلام, given revelation and speech with Allah, is sent to learn from a servant given a different kind of knowledge. A boat is damaged, a boy is killed, a wall is repaired without pay — three events that look like injustice until the reasons are disclosed. The lesson is not that knowledge is relative, but that your view of events is partial.
From the tafsīr
Ubayy ibn Kaʿb narrated the full account from the Prophet ﷺ: Mūsā was asked who was the most knowledgeable, and said 'I am' — so Allah directed him to al-Khiḍr at the junction of the two seas.
— Ṣaḥīḥ al-Bukhārī
Al-Khiḍr's closing words — 'I did not do it of my own accord' — establish that even his hidden knowledge was given, not self-generated.
— Ibn Kathīr
Key takeaways
- Claiming to be the most knowledgeable is itself a gap in knowledge.
- What looks like harm may be protection whose reason has not been shown to you yet.
- Patience with a teacher, and with Allah's decree, is a condition of learning — 'you will never be able to have patience with me'.
My notes
Trial of power: Dhul-Qarnayn
A king given reach and means across the earth uses power the way it should be used: justice at the west, mercy at the east, and construction where people are helpless. When his iron barrier is complete he refuses the credit — 'this is a mercy from my Lord' — and immediately names its expiry date at the promise of his Lord.
From the tafsīr
'We established him in the earth and gave him means to everything' — resources are stated as a grant, and each of his three journeys begins with 'then he followed a way', showing purposeful use, not conquest for its own sake.
— Ibn Kathīr
He took no payment from the people he protected, asking only for their labour — leadership that spends itself on the governed.
— Al-Qurṭubī
Key takeaways
- Power is a loan with a purpose: justice for the wrongdoer, ease for the weak.
- Refusing credit for your achievements is the safeguard that keeps power from corrupting.
- Even the strongest structure has an appointed end; plan with that in view.
My notes
The greatest loss — and the two conditions
The surah ends by naming the biggest losers: not those who did nothing, but those whose effort was lost while they thought they were doing well. The remedy is the last āyah — hope for the meeting with your Lord, then two conditions: righteous action, and no partner in the worship of your Lord.
قُلْ إِنَّمَآ أَنَا۠ بَشَرٌ مِّثْلُكُمْ يُوحَىٰٓ إِلَىَّ أَنَّمَآ إِلَـٰهُكُمْ إِلَـٰهٌ وَٰحِدٌ ۖ فَمَن كَانَ يَرْجُوا۟ لِقَآءَ رَبِّهِۦ فَلْيَعْمَلْ عَمَلًا صَـٰلِحًا وَلَا يُشْرِكْ بِعِبَادَةِ رَبِّهِۦٓ أَحَدًۢا
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."
From the tafsīr
The greatest losers are those whose deeds are void — either through disbelief or through deeds done for other than Allah while assuming they are accepted.
— Ibn Kathīr
Āyah 110 gathers the two conditions of every accepted deed: correctness according to the Sunnah ('righteous action') and sincerity ('associate none in worship').
— Al-Saʿdī
Key takeaways
- Sincerity is not a bonus on a good deed; it is a condition for it counting at all.
- Self-assurance is not evidence of acceptance — 'they think they are doing well' is the warning.
- The whole surah's antidote to the four trials is one relationship: hoping for the meeting with your Lord.
My notes
ك ه ف
āyāt 9, 10, 11, 16, 17, 25a cave — a hollow in a mountain that shelters
- كَهْفcave, refuge
- كَهْف الأمّةidiom: the shelter of a people
ف ت ي
āyāt 10, 13, 60, 62youth, vigour, and by extension chivalry
- فَتًىyoung man
- فِتْيَةa band of youths
- فُتُوَّةchivalry, noble youth
- فَتْوَىٰa legal verdict (a 'young' fresh answer)
ر ش د
āyāt 10, 17, 24, 66to be rightly directed, mature in judgement
- رَشَدright direction
- رَاشِدrightly guided
- أَرْشَدَhe directed rightly
ب ق ي
āyāt 46to remain, to endure after others pass
- بَاقِيremaining
- ٱلْبَاقِيَاتthe enduring things
- أَبْقَىٰmore lasting
ز ي ن
āyāt 7, 46to adorn, to make attractive
- زِينَةadornment
- زَيَّنَhe beautified
- مُزَيَّنdecorated
ص ب ر
āyāt 28, 67, 68, 69, 72, 75, 78, 82to restrain and hold fast — patience as confinement of the self
- صَبْرpatience
- ٱصْبِرْbe patient
- صَابِرone who perseveres
ع م ل
āyāt 2, 30, 46, 103, 104, 110to act, to work — deeds as labour
- عَمَلdeed, work
- عَامِلworker
- أَعْمَالdeeds
Carry this with you
- Four trials, one antidote: keep your eye on the meeting with your Lord.
- Say in shāʾ Allāh — your tomorrow was never yours to promise.
- Wealth is an ornament; only what you send ahead endures.
- Being sure you are doing well is not the same as being accepted.