The Stories of the Prophets cover the messengers Allah sent. But the Quran also sets before us righteous people who were not prophets — or whose prophethood the scholars differed over — because their stories carry lessons every believer needs: a woman's devotion, a father's counsel, a ruler's justice, young men's courage, and the limits of human knowledge. Allah says of His narratives:
Righteous Figures Named in the Quran
Not everyone the Quran holds up as a model was a prophet. Maryam, Luqman, Dhul-Qarnayn, the People of the Cave, and al-Khidr — each named or described in the Book itself, each told here from the Quran and the authentic Sunnah alone.
لَقَدْ كَانَ فِى قَصَصِهِمْ عِبْرَةٌۭ لِّأُو۟لِى ٱلْأَلْبَـٰبِ
"There was certainly in their stories a lesson for those of understanding."
One rule governs this whole page: we relate only what the Quran states and what the Prophet ﷺ authentically reported — nothing borrowed from other scriptures, and nothing invented to fill the gaps the revelation deliberately left. As you will see below, the Quran itself teaches that restraint.
Five righteous figures the Quran holds up: 1. Maryam, the only woman named by her own name in the Quran, with a surah bearing her name and described as a siddiqah, the rank just below prophethood (5:75); 2. Luqman, granted wisdom by Allah (31:12) and, by the majority view, a righteous wise man not a prophet, whose first counsel to his son was tawhid (31:13); 3. Dhul-Qarnayn, the just traveller established upon the earth who made three journeys and built the iron-and-copper barrier against Yajuj and Majuj (18:83-98); 4. the People of the Cave, young men who believed and were put to sleep some three hundred years, whose number the Quran refuses to settle (18:9-26, 18:22); 5. al-Khidr, the servant Musa travelled to learn from (18:65), whom the Quran does not name — his name coming from the Prophet.
The Five FiguresNamed or described in the Quran — each told here from the Quran and the authentic Sunnah alone.
The only woman named by her own name in the Quran; Surah Maryam (19) carries her name. Described as a siddiqah — the rank just below prophethood (5:75).
Granted hikmah — wisdom — by Allah (31:12); a surah carries his name. The majority held he was a righteous wise man, not a prophet. His first counsel to his son: tawhid (31:13).
The just traveller, established upon the earth. Three journeys; built the barrier of iron and molten copper against Yajuj and Majuj (18:83-98).
Young men who believed in their Lord, put to sleep some three hundred years (18:9-26). The Quran refuses to settle their number (18:22).
The servant Musa travelled to learn from (18:65). The Quran does not name him — his name comes from the Prophet ﷺ.
1 · Maryam — the best of the women of the worlds
Maryam bint Imran (peace be upon her), the mother of the prophet Isa, is the only woman named by her own name in the Quran — and an entire surah, Surah Maryam (19), is named after her. Dedicated to Allah's worship before she was even born (3:35-37), she received the angels' announcement that Allah had chosen her:
وَإِذْ قَالَتِ ٱلْمَلَـٰٓئِكَةُ يَـٰمَرْيَمُ إِنَّ ٱللَّهَ ٱصْطَفَىٰكِ وَطَهَّرَكِ وَٱصْطَفَىٰكِ عَلَىٰ نِسَآءِ ٱلْعَـٰلَمِينَ
"And [mention] when the angels said, 'O Maryam, indeed Allah has chosen you and purified you and chosen you above the women of the worlds.'"
كَمَلَ مِنَ الرِّجَالِ كَثِيرٌ وَلَمْ يَكْمُلْ مِنَ النِّسَاءِ إِلَّا آسِيَةُ امْرَأَةُ فِرْعَوْنَ وَمَرْيَمُ بِنْتُ عِمْرَانَ
The Prophet ﷺ said: "Many amongst men reached (the level of) perfection but none amongst the women reached this level except Asia, Pharaoh's wife, and Mary, the daughter of Imran."
Narrated by Abu Musa al-Ashari, Sahih al-Bukhari 3411
Allah also holds her up — together with Asiya — as an example for all believers, men and women alike, praising her as one "who guarded her chastity... and believed in the words of her Lord and His scriptures, and was of the devoutly obedient" (66:11-12). Was she a prophetess? A few scholars held so, since angels addressed her directly; the majority answer with the Quran's own description: "his mother was a siddiqah" — a supremely truthful woman (5:75) — the rank just below prophethood. Both positions are found among the people of knowledge; what is agreed is her purity, her devotion, and her rank among all women.
2 · Luqman — the wise man and his counsel to his son
Luqman was granted hikmah — wisdom — by Allah (31:12), and a surah carries his name. The majority of scholars held he was a righteous wise man, not a prophet. The Quran preserves his counsel to his son, and it begins where all guidance begins — with tawhid:
وَإِذْ قَالَ لُقْمَـٰنُ لِٱبْنِهِۦ وَهُوَ يَعِظُهُۥ يَـٰبُنَىَّ لَا تُشْرِكْ بِٱللَّهِ ۖ إِنَّ ٱلشِّرْكَ لَظُلْمٌ عَظِيمٌ
"And [mention] when Luqman said to his son while he was instructing him, 'O my son, do not associate [anything] with Allah. Indeed, association [with Him] is great injustice.'"
The Prophet ﷺ himself cited this very ayah, as 'Abdullah narrated: "When the following Verse was revealed: 'It is those who believe and confuse not their belief with wrong (worshipping others besides Allah.)' (6:83), the companions of Allah's Messenger ﷺ asked, 'Who is amongst us who had not done injustice (wrong)?' Allah revealed: 'No doubt, joining others in worship with Allah is a great injustice (wrong) indeed'" (Sahih al-Bukhari 32; Sahih Muslim — site reader no. 234, Kitab al-Iman). The zulm meant there is shirk. Luqman's counsel then continues through 31:16-19: Allah's complete knowledge of the smallest deed, establishing the prayer, enjoining right and forbidding wrong, patience, and humility in bearing and voice — a whole curriculum of raising children in five ayat. On what shirk is and why it is the greatest injustice, see Shirk, Jahiliyyah & Khurafat.
3 · Dhul-Qarnayn — the just traveller
In Surah al-Kahf the Quran answers a question put to the Prophet ﷺ about a righteous ruler whom Allah established in the earth:
وَيَسْـَٔلُونَكَ عَن ذِى ٱلْقَرْنَيْنِ ۖ قُلْ سَأَتْلُوا۟ عَلَيْكُم مِّنْهُ ذِكْرًا إِنَّا مَكَّنَّا لَهُۥ فِى ٱلْأَرْضِ وَءَاتَيْنَـٰهُ مِن كُلِّ شَىْءٍۢ سَبَبًۭا
"And they ask you about Dhul-Qarnayn. Say, 'I will recite to you about him a report.' Indeed, We established him upon the earth, and We gave him from everything a way."
The Quran follows him on three journeys (18:83-98): to the far west, where he was given power over a people and chose justice — punishing only the wrongdoer and promising good to the believer; to the far east; and finally to a people threatened by Yajuj and Majuj (Gog and Magog), for whom he built the great barrier of iron and molten copper — then attributed it all to Allah: "This is a mercy from my Lord; but when the promise of my Lord comes, He will make it level" (18:98). The Prophet ﷺ confirmed the barrier is real, warning: "Woe to the Arabs from an evil that has drawn near. Today a gap has been opened in the barrier of Yajuj and Majuj like this" — and he made a circle with his fingers (Sahih al-Bukhari 3346). The emergence of Yajuj and Majuj is among the major Signs of the Hour.
Where the Quran stops, we stop. The revelation does not name Dhul-Qarnayn's era, his homeland, or his identity — and no authentic hadith supplies them. Later attempts to identify him with this or that historical king are conjecture, not revelation. The Quran tells us exactly what benefits us: he was given power and used it with justice, humility, and gratitude to Allah. The safe path — the path of the salaf — is to affirm what the texts say and not to speculate beyond them.
4 · The People of the Cave — and the discipline of not speculating
Ashab al-Kahf were young men who held to the worship of Allah alone when their people worshipped others, fled with their faith to a cave, and were put to sleep by Allah for some three hundred years as a sign of His power and of the resurrection (18:9-26):
نَّحْنُ نَقُصُّ عَلَيْكَ نَبَأَهُم بِٱلْحَقِّ ۚ إِنَّهُمْ فِتْيَةٌ ءَامَنُوا۟ بِرَبِّهِمْ وَزِدْنَـٰهُمْ هُدًۭى
"We relate to you their story in truth. Indeed, they were young men who believed in their Lord, and We increased them in guidance."
Then comes something remarkable. People argued over how many the youths were — three, five, seven? The Quran refuses to settle the count, and instead teaches the believers how to handle a matter of the unseen that the revelation has left unstated:
قُل رَّبِّىٓ أَعْلَمُ بِعِدَّتِهِم مَّا يَعْلَمُهُمْ إِلَّا قَلِيلٌۭ ۗ فَلَا تُمَارِ فِيهِمْ إِلَّا مِرَآءًۭ ظَـٰهِرًۭا وَلَا تَسْتَفْتِ فِيهِم مِّنْهُمْ أَحَدًۭا
"Say, 'My Lord is most knowing of their number. None knows them except a few. So do not argue about them except with an obvious argument, and do not ask [i.e., seek information] about them from anyone.'"
"Do not ask about them from anyone" — meaning the People of the Book, whose unverifiable reports could add nothing to what Allah had already revealed. That single instruction is the Quran's own charter against isra'iliyyat, and it is the editorial rule of this entire page. What matters about the youths is not their number but their stand: "Indeed, they were young men who believed in their Lord."
Their surah also carries an authentic virtue:
مَنْ حَفِظَ عَشْرَ آيَاتٍ مِنْ أَوَّلِ سُورَةِ الْكَهْفِ عُصِمَ مِنَ الدَّجَّالِ
"If anyone learns by heart the first ten verses of the Surah al-Kahf, he will be protected from the Dajjal."
Narrated by Abu al-Darda', Sahih Muslim — site reader no. 1775, Kitab Salat al-Musafirin
The well-known report on reciting al-Kahf on Friday, that it gives the reciter a light between the two Fridays, is narrated from Abu Sa'id al-Khudri by al-Hakim and al-Bayhaqi and graded sahih by al-Albani (Sahih al-Jami' 6470). Those collections are not held in the site repository, so its wording cannot be checked here. See Friday — Jumu'ah for the day's other sunnahs.
5 · Al-Khidr — the servant Musa travelled to learn from
The Quran tells of "a servant from among Our servants to whom We had given mercy from Us and had taught him from Us a knowledge" (18:65), whom Musa (peace be upon him) journeyed to at the junction of the two seas. The Quran does not name him — his name, and the story's full context, come from the Prophet ﷺ himself, in a long sahih narration:
Al-Khadir replied, "Verily! You will not be able to remain patient with me, O Moses! I have some of the knowledge of Allah which He has taught me and which you do not know, while you have some knowledge which Allah has taught you which I do not know."… Al-Khadir went to one of the planks of the boat and plucked it out. Moses said, "These people gave us a free lift but you have broken their boat and scuttled it so as to drown its people." Al-Khadir replied, "Didn't I tell you that you will not be able to remain patient with me." Moses said, "Call me not to account for what I forgot." The first (excuse) of Moses was that he had forgotten. Then they proceeded further and found a boy playing with other boys. Al-Khadir took hold of the boy's head from the top and plucked it out with his hands (i.e. killed him). Moses said, "Have you killed an innocent soul who has killed none." Al-Khadir replied, "Did I not tell you that you cannot remain patient with me?" Then they both proceeded till when they came to the people of a town, they asked them for food, but they refused to entertain them. Then they found there a wall on the point of collapsing. Al-Khadir repaired it with his own hands. Moses said, "If you had wished, surely you could have taken wages for it." Al-Khadir replied, "This is the parting between you and me." "And I did it not of my own accord" (18:82) — it was from Allah.
Narrated from Ubayy ibn Ka'b, Sahih al-Bukhari 122; also Sahih al-Bukhari 3401 and Sahih Muslim — site reader no. 6007, Kitab al-Fada'il
The Prophet ﷺ also explained his name: "Al-Khadir was named so because he sat over a barren white land, it turned green with plantation after (his sitting over it)" (Sahih al-Bukhari 3402). Was al-Khidr a prophet? Many scholars held that he was, since he acted by direct command from Allah — "I did it not of my own accord" — while others held he was a righteous servant given knowledge from Allah; both views are known, and the texts are the limit of what we can say. As for the popular claim that al-Khidr remains alive to this day, it has no support in the authentic evidence; the Prophet ﷺ said near the end of his life: "Nobody present on the surface of the earth tonight will be living after the completion of one hundred years from this night" (Sahih al-Bukhari 116; Sahih Muslim 2537) — and verifying scholars, among them Ibn Kathir, concluded accordingly.
The lesson the story itself teaches is the same one running through this whole page: "over every possessor of knowledge is one [more] knowing" (12:76) — human knowledge is partial, Allah's is complete, and behind what looks incomprehensible in His decree there is wisdom. See Qadar — Divine Decree and Seeking Knowledge.
These five accounts sit inside the Quran's larger fabric of narrative: for the messengers themselves, see the Stories of the Prophets; for how story fits among the Book's recurring subjects — tawhid, law, the unseen, character, parables — see The Great Themes of the Quran.
Take the full guide with you
Maryam, Luqman, Dhul-Qarnayn, the People of the Cave, and al-Khidr — told from the Quran and the authentic Sunnah alone, in one PDF.
- All five figures, from the Quran & Sahih Sunnah
- Maryam — chosen above the women of the worlds
- Luqman's counsel to his son, and Dhul-Qarnayn's three journeys
- The People of the Cave & the discipline of not speculating
- Isra'iliyyat deliberately excluded — we stop where the texts stop
Stories of the Prophets
The 25 prophets, in the authentic Sunnah.
📗Quran Themes
The great recurring themes of the Book.
🚫Popular but Not Authentic
Weak & fabricated tales, and the sound alternative.
Share this page as a poster
A 1080×1920 image made for phone screens — Stories, Status, Reels. It carries the heading and the link back here, so whoever you send it to can read the whole thing.
On a phone you can also long-press the poster and choose Save image. Every poster is on the poster page. Free to share — no attribution needed.