The Story of Musa and al-Khidr — at the Junction of the Two Seas (Surah Al-Kahf 18:60–82)

Stories · Stories of the 25 Prophets

The Story of Musa and al-Khidr

Al-Kahf’s third story told at full length — the verses in their own order, the narration that names the servant at its own tier.

THE SHORT ANSWER — The Story of Musa and al-Khidr is the Qur’an’s account of Musa’s journey to the junction of the two seas (18:60–82): a servant of Allah, named only in the narration of Sahih Muslim (2380a), three acts Musa could not bear patiently, and the explanations given at the parting.

How this story is sourced

This page follows the sourcing order the Stories hub sets for the section, and it keeps two tiers apart. The spine is the Qur’an: Surah Al-Kahf, verses 60 to 82, quoted in Dr Mustafa Khattab’s translation in the passage’s own order. The second tier is a single narration — the journey as Ubayy ibn Ka’b tells it in Sahih Muslim (2380a), carried there by Sa’id b. Jubair from Ibn Abbas. What the narration adds stands marked as the narration’s, at its own tier, exactly as the Quranic Waqiat pillar handles it in its third movement; this page is that movement’s deep telling, standing under the Stories of the 25 Prophets pillar, where Musa is counted and the servant is not. The Qur’an never names the servant, the boy, the town of the wall or the treasure under it; those blanks stay blank here.

The sermon and the question

The Qur’an opens the passage mid-journey, with a resolve already formed. The narration supplies the frame that formed it:

“Moses (peace be upon him) stood up to give sermon to the people of Isra’il. He was asked as to who amongst the people has the best knowledge, whereupon he said: I have the best knowledge. Thereupon Allah was annoyed with him that he did not attribute (the best knowledge) to Him. He revealed to him: A servant amongst My servants is at the junction of two rivers who has more knowledge than yours.”

Sahih Muslim 2380a · sunnah.com/muslim:2380a

The narration then appoints the sign by which the meeting place would be known: “Carry a fish in the large basket and the place where you find it missing there you will find him.” Ibn Kathir’s commentary, as displayed on the quran.com page for 18:60, opens the passage the same way: Musa “had been told about one of the servants of Allah at the junction of the two seas, who had knowledge which Musa had not been granted”. The verse begins with the setting out:

وَإِذْ قَالَ مُوسَىٰ لِفَتَىٰهُ لَآ أَبْرَحُ حَتَّىٰٓ أَبْلُغَ مَجْمَعَ ٱلْبَحْرَيْنِ أَوْ أَمْضِىَ حُقُبًا

And ˹remember˺ when Moses said to his young assistant, “I will never give up until I reach the junction of the two seas, even if I travel for ages.”

Qur’an 18:60 · Surah Al-Kahf · translation: Dr Mustafa Khattab, quran.com/18/60 · Arabic: Tanzil

The journey to the junction of the two seas

The two travel, and reach the junction without knowing it: “But when they ˹finally˺ reached the point where the seas met, they forgot their ˹salted˺ fish, and it made its way into the sea, slipping away ˹wondrously˺.” (18:61). They walk on past the place. Only hunger stops them, and Musa asks for the meal they carried: “When they had passed further, he said to his assistant, “Bring us our meal! We have certainly been exhausted by today’s journey.”” (18:62). The assistant’s answer takes them back to the rock where they had rested: “He replied, “Do you remember when we rested by the rock? ˹That is when˺ I forgot the fish. None made me forget to mention this except Satan. And the fish made its way into the sea miraculously.”” (18:63). Musa’s reply is instant: “Moses responded, “That is ˹exactly˺ what we were looking for.” So they returned, retracing their footsteps.” (18:64).

The narration fills two details of this stretch that the verses do not carry, and both stand here as the narration’s. It names the assistant — “Moses proceeded forth along with a young man (Yusha’). Joshua b. Nun” — and it describes the fish’s escape: “Allah stopped the current of water like a vault until the way was made for the fish.”

The servant at the rock

فَوَجَدَا عَبْدًا مِّنْ عِبَادِنَآ ءَاتَيْنَٰهُ رَحْمَةً مِّنْ عِندِنَا وَعَلَّمْنَٰهُ مِن لَّدُنَّا عِلْمًا

There they found a servant of Ours, to whom We had granted mercy from Us and enlightened with knowledge of Our Own.

Qur’an 18:65 · Surah Al-Kahf · translation: Dr Mustafa Khattab, quran.com/18/65 · Arabic: Tanzil

That verse is the whole of the Qur’an’s introduction. No name, no lineage, no title. The name comes from the narration, which has him named from the first moment of the meeting: “there they saw a man covered with a cloth. Moses greeted him. Khadir said to him”. In the narration’s spelling he is Khadir; in its usual English form, al-Khidr. The 25 Prophets pillar prints the position under the heading “Al-Khidr — named by the narration, not by the Qur’an”, and this page holds the same line: a name carried by narration alone stands outside a list built from the Qur’an’s own naming.

His standing beyond that stays where the scholars leave it — in disagreement, stated and unsettled. Sheikh ‘Atiyyah Saqr, former head of Al-Azhar’s Fatwa Committee, puts it this way for IslamOnline:

“Muslim scholars differ regarding this man, whether he was a prophet or just a walyy (righteous servant of Allah). Imam Al-Qushairy and many others hold the view that he was a walyy while some other scholars say that he was a prophet. This last view is also held by Imam An-Nawawi. However, we conclude that there is no decisive opinion that can be adopted in this regard or taken for granted.”

Sheikh ‘Atiyyah Saqr, at IslamOnline — Who Was Al-Khadir?

The narration also gives the meeting its own exchange on knowledge, in the servant’s words: “You have a knowledge out of the knowledge of Allah which in fact Allah imparted to you and about that I know nothing and I have knowledge out of Allah’s knowledge which He imparted to me and about that you do not know.” The Qur’an carries the request that follows — “Moses said to him, “May I follow you, provided that you teach me some of the right guidance you have been taught?”” (18:66) — and the warning it drew: “He said, “You certainly cannot be patient ˹enough˺ with me. And how can you be patient with what is beyond your ˹realm of˺ knowledge?”” (18:67–68). Musa gives his undertaking — “Moses assured ˹him˺, “You will find me patient, Allah willing, and I will not disobey any of your orders.”” (18:69) — and the servant sets the journey’s one condition: “He responded, “Then if you follow me, do not question me about anything until I ˹myself˺ clarify it for you.”” (18:70).

The first act: the boat

A boat comes by. The narration records what the verse passes over: the boat’s people recognised Khadir, “and they carried them free. Khadir thereupon took hold of a plank in the boat and broke it away.” The verse carries the act and the protest together:

فَٱنطَلَقَا حَتَّىٰٓ إِذَا رَكِبَا فِى ٱلسَّفِينَةِ خَرَقَهَا قَالَ أَخَرَقْتَهَا لِتُغْرِقَ أَهْلَهَا لَقَدْ جِئْتَ شَيْـًٔا إِمْرًا

So they set out, but after they had boarded a ship, the man made a hole in it. Moses protested, “Have you done this to drown its people? You have certainly done a terrible thing!”

Qur’an 18:71 · Surah Al-Kahf · translation: Dr Mustafa Khattab, quran.com/18/71 · Arabic: Tanzil

The answer is the condition recalled — “He replied, “Did I not say that you cannot have patience with me?”” (18:72) — and Musa’s plea names the cause himself: “Moses pleaded, “Excuse me for forgetting, and do not be hard on me.”” (18:73). The narration adds the Prophet’s ﷺ own word on that first protest: it was out of forgetfulness.

The second act: the boy

They leave the boat and walk the coast. The narration sets the scene in one line — a boy playing with other boys — and the verse carries the act:

فَٱنطَلَقَا حَتَّىٰٓ إِذَا لَقِيَا غُلَٰمًا فَقَتَلَهُۥ قَالَ أَقَتَلْتَ نَفْسًا زَكِيَّةًۢ بِغَيْرِ نَفْسٍ لَّقَدْ جِئْتَ شَيْـًٔا نُّكْرًا

So they proceeded until they came across a boy, and the man killed him. Moses protested, “Have you killed an innocent soul, who killed no one? You have certainly done a horrible thing.”

Qur’an 18:74 · Surah Al-Kahf · translation: Dr Mustafa Khattab, quran.com/18/74 · Arabic: Tanzil

The reminder comes back sharpened by a single word — “Did I not tell you” (18:75), where the first reminder had run “Did I not say”. Musa answers by setting the parting condition himself: “Moses replied, “If I ever question you about anything after this, then do not keep me in your company, for by then I would have given you enough of an excuse.”” (18:76). The boy’s name is given by neither source, and no name is printed here.

The third act: the wall

The verse carries the whole act: “So they moved on until they came to the people of a town. They asked them for food, but the people refused to give them hospitality. There they found a wall ready to collapse, so the man set it right. Moses protested, “If you wanted, you could have demanded a fee for this.”” (18:77). The town is named by neither source — the verse says “a town”, and at the explanation “the city” — and its name stays unprinted here. Food refused, hospitality refused, and labour given anyway, unpaid, on a stranger’s wall: Musa’s remark is the mildest of his three, and it is the one that ends the journey.

The parting, and the explanations

The parting is announced in the verse’s own words: “He replied, “This is the parting of our ways. I will explain to you what you could not bear patiently.” (18:78). Then the explanations, in the order of the acts, each in the servant’s own words. The boat first: ““As for the ship, it belonged to some poor people, working at sea. So I intended to damage it, for there was a ˹tyrant˺ king ahead of them who seizes every ˹good˺ ship by force.” (18:79).

Beside this verse stands the narration’s own closing note: Sa’id b. Jubair, who carries the narration, used to recite verses 79 and 80 with the king’s seizures limited to sound boats — “every boat by force which was in order”. The page builds nothing on the reading. The boy second:

وَأَمَّا ٱلْغُلَٰمُ فَكَانَ أَبَوَاهُ مُؤْمِنَيْنِ فَخَشِينَآ أَن يُرْهِقَهُمَا طُغْيَٰنًا وَكُفْرًا فَأَرَدْنَآ أَن يُبْدِلَهُمَا رَبُّهُمَا خَيْرًا مِّنْهُ زَكَوٰةً وَأَقْرَبَ رُحْمًا

“And as for the boy, his parents were ˹true˺ believers, and we feared that he would pressure them into defiance and disbelief. So we hoped that their Lord would give them another, more virtuous and caring in his place.

Qur’an 18:80–81 · Surah Al-Kahf · translation: Dr Mustafa Khattab, quran.com/18/80 · Arabic: Tanzil

And the wall last, closing on the sentence the whole passage turns on:

وَأَمَّا ٱلْجِدَارُ فَكَانَ لِغُلَٰمَيْنِ يَتِيمَيْنِ فِى ٱلْمَدِينَةِ وَكَانَ تَحْتَهُۥ كَنزٌ لَّهُمَا وَكَانَ أَبُوهُمَا صَٰلِحًا فَأَرَادَ رَبُّكَ أَن يَبْلُغَآ أَشُدَّهُمَا وَيَسْتَخْرِجَا كَنزَهُمَا رَحْمَةً مِّن رَّبِّكَ وَمَا فَعَلْتُهُۥ عَنْ أَمْرِى ذَٰلِكَ تَأْوِيلُ مَا لَمْ تَسْطِع عَّلَيْهِ صَبْرًا

“And as for the wall, it belonged to two orphan boys in the city, and under the wall was a treasure that belonged to them, and their father had been a righteous man. So your Lord willed that these children should come of age and retrieve their treasure, as a mercy from your Lord. I did not do it ˹all˺ on my own. This is the explanation of what you could not bear patiently.”

Qur’an 18:82 · Surah Al-Kahf · translation: Dr Mustafa Khattab, quran.com/18/82 · Arabic: Tanzil

Two narration scenes follow in Muslim’s telling, at their own tier. The Prophet ﷺ, hearing the story’s end, said: “May Allah have mercy upon Moses! I wish if Moses could show patience and a (fuller) story of both of them could have been told.” And beside the boat a sparrow had dipped its beak in the sea, and the servant said: “My knowledge and your knowledge in comparison with the knowledge of Allah is even less than the water taken by the sparrow in its beak in comparison to the water of the ocean.” The verses end at 18:82; the narration’s additions end there too, marked as their own.

The story at a glance

BeatWhere the passage tells it
The resolve; the junction named as the goal18:60
The fish forgotten; the meal asked for too late18:61–63
The steps retraced; the servant found18:64–65
The request, the warning, the one condition18:66–70
The boat holed; the first protest18:71–73
The boy killed; the second protest18:74–76
The wall set right in the town that refused them18:77
The parting; the three explanations18:78–82

Questions

Where is the junction of the two seas?

Neither the verses nor the narration place it on a map. The Qur’an names the goal and nothing more, and the narration appoints a sign for finding it — the loss of the fish — in place of any landmark.

Who was the young assistant?

The Qur’an calls him only “his young assistant” (18:60). The narration names him: “Moses proceeded forth along with a young man (Yusha’). Joshua b. Nun” (Sahih Muslim 2380a), and Ibn Kathir’s commentary, as displayed on the quran.com page for 18:60, names him the same way.

Was al-Khidr a prophet?

The sources this page rests on do not settle it, and the page takes no side. The Qur’an calls him a servant given mercy and knowledge (18:65). Scholars have held both positions — the IslamOnline answer in the Sources quotes the disagreement and its own conclusion: “there is no decisive opinion that can be adopted in this regard”.

Why does the Qur’an never name the servant?

Because the passage introduces him by what he was given alone: “a servant of Ours, to whom We had granted mercy from Us and enlightened with knowledge of Our Own” (18:65). The name al-Khidr reaches the story through one door only — the narration of the journey in Sahih Muslim (2380a), where he is named Khadir from the first meeting.

What does the narration add that the verses do not carry?

The frame and three scenes. The frame: Musa’s sermon, the question about who knew most, and the fish carried in a basket as the appointed sign. The scenes: the current held back “like a vault” for the fish, the owners who recognised Khadir and carried the two free, and the sparrow at the boat’s side.

Where is this story surveyed among the Qur’an’s great stories?

On the Quranic Waqiat pillar, where Musa’s journey stands as the third of the surah’s movements, beside the People of the Cave, Surah Yusuf and Surah Al-Fil. This page is that movement’s full telling.

ImanAtlas retells the Qur’an’s stories from the sources named on this page and gives no rulings. For a question about your own situation, ask a qualified scholar you trust.

Sources

  • Qur’an 18:60–82 (Al-Kahf) — Arabic from Tanzil; translation by Dr Mustafa Khattab at quran.com (ayah pages; footnote markers excluded). Verse blocks: 18:60 · 18:65 · 18:71 · 18:74 · 18:80–81 · 18:82; the remaining verses are quoted in the prose at their places.
  • Sahih Muslim 2380a — sunnah.com/muslim:2380a (The Book of Virtues): the journey narrated by Ubayy ibn Ka’b, carried by Sa’id b. Jubair from Ibn Abbas. Sunnah.com displays no grade line for this narration; none is printed.
  • Ibn Kathir (Abridged), as displayed on the quran.com ayah pages — on 18:60 (“The Story of Musa and Al-Khidr”) and 18:66 (“Musa meeting with Al-Khidr and accompanying Him”).
  • Sheikh ‘Atiyyah Saqr, former Head of Al-Azhar Fatwa Committee, at IslamOnline — Who Was Al-Khadir? — the scholarly disagreement over the servant’s standing, quoted in the meeting section.
  • Stories of the 25 Prophets (this site) — the pillar this page belongs to; al-Khidr stands outside its count, under the heading of a name carried by narration.
  • Quranic Waqiat (this site) — the story surveyed as the third movement of Al-Kahf; its deep telling stands here, verse ranges and quoted lines matched.
  • Surah Al-Kahf (this site) — the companion surah page.
  • Section method — Stories hub · Sources & Method · No-Fatwa Disclaimer.
Share card: The Story of Musa and al-Khidr — two banks of gold wave lines meeting at a dashed seam with a single star; 18:60–82 and the junction of the two seas.