Skip to main content
13 Jumada al-awwal 1448 AH Saturday, 24 October 2026
Easy Da'wah Platform

Read

Listen

Personal Quran

ٱقْرَأْ

Continue your Quran journey

Read, listen and reflect on the Book of Allah with translations and renowned reciters.

Open Quran

Browse Collections

Discover

Hadith of the Day

Authentic narrations, clearly referenced

Every hadith shows its collection, book, chapter and reference so you can verify the source.

Explore Hadith

Explore

Tools

Media

Explore Islam through knowledge, reflection and authentic sources

Browse articles, tools and media gathered in one calm, ad-free place.

Start exploring

Start Learning

For Visitors

For Teachers

Personalised

Learn Quran with a qualified teacher

Choose an approved Quran teacher and learn at your own pace. Everything else on the platform stays free.

Find a Teacher

Categories

Featured Stories

A guide to Islam

A collection of essential duas

Hajj, step by step

Islamic news & updates

Community announcements, educational updates and reminders, published and verified by our team.

View all news
Study the Quran

Tafsir

Scholarly commentary explaining a verse — its context, its meaning and how the scholars have understood it.

Al-Kahf 18:17

Word by word

۞ وَتَرَى ٱلشَّمْسَ إِذَا طَلَعَت تَّزَٰوَرُ عَن كَهْفِهِمْ ذَاتَ ٱلْيَمِينِ وَإِذَا غَرَبَت تَّقْرِضُهُمْ ذَاتَ ٱلشِّمَالِ وَهُمْ فِى فَجْوَةٍ مِّنْهُ ۚ ذَٰلِكَ مِنْ ءَايَـٰتِ ٱللَّهِ ۗ مَن يَهْدِ ٱللَّهُ فَهُوَ ٱلْمُهْتَدِ ۖ وَمَن يُضْلِلْ فَلَن تَجِدَ لَهُۥ وَلِيًّا مُّرْشِدًا

And [had you been present], you would see the sun when it rose, inclining away from their cave on the right, and when it set, passing away from them on the left, while they were [lying] within an open space thereof. That was from the signs of Allāh. He whom Allāh guides is the [rightly] guided, but he whom He sends astray - never will you find for him a protecting guide.

Ma'arif al-Qur'an

Mufti Muhammad Shafi

Commentary

In these verses, Allah Ta` ala has told us about three states of the People of Kahf. All three are indeed unique and it was the karamah, a matter of wonder, that manifested itself in an extraordinary way around these people devoted to Allah (a thing of wonder that manifests itself at the hands of a prophet of Allah is called a mujizah or miracle, while if it appears at the hand of some other pious persons, it is called 'Karamah' ).

First of all, to be overtaken by continuous sleep for a long time and to stay alive in that state without eating and drinking is by itself a matter of wonder, and certainly contra-habitual and extraordinary. Its details will appear in the verses that follow. Given here is one state of their long sleep, that is, Allah Ta’ ala had arranged for their protection in the Cave in a way that the Sun would pass by them morning and evening but would not shine over their bodies inside the Cave. The advantages of the sunshine passing by them were things like the stabilization of the traces of life, moderation and balancing of the effects of wind, chill and heat etc. And then, the Sun not hitting their bodies directly may have also been a factor in keeping their bodies and dress protected.

This arrangement of keeping them shielded from direct sunlight could also be conceived if the cave lies situated in a particular structural position and the opening of its entrance happens to face south or north in a way that sunlight does not get in there naturally. Ibn Qutaibah went to the trouble of making elaborate mathematical calculations to determine the peculiar location of this Cave precisely in terms of latitude and longitude. (Mazhari) Contrary to this was the approach of al-Zajjaj who said that the staying of sunshine away from them was not because of any inherent situation or formation of the Cave, instead, it was an extraordinary phenomenon manifested as a karamah. It seems when it was said: ذَٰلِكَ مِنْ آيَاتِ اللَّـهِ (That is one of the signs of Allah) at the end of the verse, it was obviously there to prove that this arrangement of protection from the Sun was not the outcome of any particular formation or location of the Cave. Instead, it was a sign of the perfect power of Allah Ta` ala.

(Qurtubi)To put it candidly, Allah Ta` ala had it all arranged for them that sunlight will not reach their bodies. It may have been caused through its particular formation or location or through the barrier of a cloud or something similar when the Sun would start shining, or the very rays of the Sun would be moved away from them in an extraordinary manner. All these probabilities exist within the verse. There is no need to insist upon fixing any of these as the absolute reality.

Tafsir is provided for educational reference. Paragraph breaks are added for readability — the wording of each commentary is unchanged. For religious guidance, consult a qualified scholar.