What Was Al-Khidr's Explanation for the Three Things He Did?
ما هو تفسير الأفعال التي فعلها الخضر؟
1- The boat that he damaged: A tyrannical king used to confiscate every boat that was in good condition. Al-Khidr bore a hole in the poor men's boat so that the king would not take it, as it was their source of earnings. It was better for them to have a damaged boat than to have their boat taken from them unjustly.
("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.") (Al-Kahf 18: 79)
2- The young boy that he killed: He was going to turn out to be a disbeliever when he grew up. So al-Khidr killed him by revelation from Allah the Exalted, because his parents were believers and Allah willed that his disbelief would not burden them.
("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.") (Al-Kahf 18: 80-81)
3- As for the town whose people refused to feed Al-Khidr and Moses, peace be upon him, there was a wall about to fall in it, but Al-Khidr repaired it so that it would not fall. There was a treasure under the wall, and there were two orphan children in the city whose father was righteous, so Allah Almighty wanted the two children to grow up and find the treasure under the wall. Had the wall fallen, people would have found the treasure and taken it.
("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.") (Al-Kahf 18:82)
1- السفينة التي خرقها: كان هناك ملك ظالم كان يأخذ كل سفينة في حالة جيدة. فخرق الخضر السفينة التي كانت لمساكين كي لا يأخذها الملك، إذ كانت مصدر كسبهم الرزق. فالفعل يقتضي أن تبقى عندهم سفينة مكسورة، خيرٌ من أن تكون سفينة صالحة ثم تُسلب ظلمًا وعدوانًا.
(أَمَّا السَّفِينَةُ فَكَانَتْ لِمَسَاكِينَ يَعْمَلُونَ فِي الْبَحْرِ فَأَرَدتُّ أَنْ أَعِيبَهَا وَكَانَ وَرَاءَهُم مَّلِكٌ يَأْخُذُ كُلَّ سَفِينَةٍ غَصْبًا) الكهف 18: 79
2- الغلام الذي قتله: كان هذا الغلام سيكبر ويصبح كافرًا، ولذلك قتله الخضر بوحيٍ من الله تعالى، لأن أبويه كانا مؤمنين وأراد الله أن لا يرهقهما كفره.
(وَأَمَّا الْغُلَامُ فَكَانَ أَبَوَاهُ مُؤْمِنَيْنِ فَخَشِينَا أَن يُرْهِقَهُمَا طُغْيَانًا وَكُفْرًا ﴿٨٠﴾ فَأَرَدْنَا أَن يُبْدِلَهُمَا رَبُّهُمَا خَيْرًا مِّنْهُ زَكَاةً وَأَقْرَبَ رُحْمًا) الكهف 18: 80-81
3- أما القرية التي رفض أهلها إطعام الخضر وموسى عليه السلام، ووجدا فيها جدارًا على وشك أن يقع، فأصلحه الخضر كي لا يقع، فهذا كان تحته كنز، وكان في المدينة طفلان يتيمان أبوهما صالح، فأراد الله تعالى أن يكبر الطفلان ويجدا الكنز الذي تحت الجدار. ولو كان الجدار قد وقع، لوجد الناس الكنز وأخذوه.
(وَأَمَّا الْجِدَارُ فَكَانَ لِغُلَامَيْنِ يَتِيمَيْنِ فِي الْمَدِينَةِ وَكَانَ تَحْتَهُ كَنزٌ لَّهُمَا وَكَانَ أَبُوهُمَا صَالِحًا فَأَرَادَ رَبُّكَ أَن يَبْلُغَا أَشُدَّهُمَا وَيَسْتَخْرِجَا كَنزَهُمَا رَحْمَةً مِّن رَّبِّكَ وَمَا فَعَلْتُهُ عَنْ أَمْرِي ذَٰلِكَ تَأْوِيلُ مَا لَمْ تَسْطِع عَّلَيْهِ صَبْرًا) الكهف 18: 82
1. The Ship: A Hidden Mercy | السفينة: رحمةٌ خفية
The damage Moses (peace be upon him) saw as pure loss was in fact protection. A tyrant king was seizing every sound ship he found along that stretch of water, and a poor crew's only vessel was at risk of being taken, which would have ended their livelihood entirely. By putting a defect in it himself, Surah Al-Kahf 18:79 explains, Al-Khidr made the ship worthless to the king while leaving it fully repairable by its own owners once the danger had passed.
الضرر الذي رآه موسى خسارةً محضة كان في حقيقته حماية. فقد كان ملكٌ ظالم يستولي على كل سفينةٍ سليمة يجدها في ذلك الموضع من البحر، وكانت سفينة القوم الفقراء الوحيدة معرضةً للأخذ، فينتهي بذلك مصدر رزقهم تمامًا. وبإحداث عيبٍ فيها بنفسه، كما توضح الآية 79 من سورة الكهف، جعلها الخضر عديمة الفائدة عند الملك مع بقائها قابلةً للإصلاح من أصحابها متى زال الخطر.
أَمَّا السَّفِينَةُ فَكَانَتْ لِمَسَاكِينَ يَعْمَلُونَ فِي الْبَحْرِ فَأَرَدتُّ أَنْ أَعِيبَهَا وَكَانَ وَرَاءَهُم مَّلِكٌ يَأْخُذُ كُلَّ سَفِينَةٍ غَصْبًا (الكهف 18: 79)2. The Boy: A Mercy to His Parents | الغلام: رحمةٌ لأبويه
The second explanation reaches even further than the first, into a future no human being could have known on their own. The boy's own parents were sincere believers, and Allah tells us through Al-Khidr's words that the boy himself was destined to grow into someone who would "pressure them into defiance and disbelief" (18:80). What looked like the taking of an innocent life was, in this one case where Allah granted Al-Khidr knowledge beyond ordinary human reach, a mercy aimed at protecting the parents' own faith.
يتجاوز التفسير الثاني حتى الأول، إذ يتعلق بمستقبلٍ لا يعلمه بشرٌ من تلقاء نفسه. كان أبوا الغلام مؤمنَين صادقَين، ويخبرنا الله على لسان الخضر أن الغلام نفسه كان سيكبر ليكون سببًا في "أن يرهقهما طغيانًا وكفرًا" (الكهف 18: 80). فما بدا قتلًا لنفسٍ بريئة كان، في هذه الحالة التي منح الله فيها الخضر علمًا يفوق طاقة البشر العادية، رحمةً استهدفت حماية إيمان الأبوين نفسه.
وَأَمَّا الْغُلَامُ فَكَانَ أَبَوَاهُ مُؤْمِنَيْنِ فَخَشِينَا أَن يُرْهِقَهُمَا طُغْيَانًا وَكُفْرًا فَأَرَدْنَا أَن يُبْدِلَهُمَا رَبُّهُمَا خَيْرًا مِّنْهُ زَكَاةً وَأَقْرَبَ رُحْمًا (الكهف 18: 80-81)3. The Wall: Guarding the Orphans' Inheritance | الجدار: صون ميراث يتيمين
The third act also prevents a loss: by repairing the wall, it protects something that had not yet been claimed. Beneath the collapsing wall lay a buried treasure belonging to two orphaned boys in that town, whose father had been a righteous man. Had the wall fallen, anyone could have found and taken what was rightfully theirs; by quietly restoring it, Al-Khidr sealed it away until the two boys were old enough to claim it themselves (18:82). How Islam asks believers to treat orphans is explained in the etiquette of dealing with an orphan.
يدفع الفعل الثالث الضرر أيضا: فبإصلاح الجدار، يحمي هذا الفعل شيئًا لم يُطالَب به بعد. كان تحت الجدار المتصدع كنزٌ مدفون ليتيمين في تلك القرية، وكان أبوهما صالحًا. ولو سقط الجدار، لوجد أي أحدٍ ذلك الكنز وأخذه؛ فبإصلاحه بهدوء، حفظه الخضر مغلقًا حتى يبلغ الطفلان أشدهما ويستخرجاه بأنفسهما (الكهف 18: 82).
وَأَمَّا الْجِدَارُ فَكَانَ لِغُلَامَيْنِ يَتِيمَيْنِ فِي الْمَدِينَةِ وَكَانَ تَحْتَهُ كَنزٌ لَّهُمَا وَكَانَ أَبُوهُمَا صَالِحًا فَأَرَادَ رَبُّكَ أَن يَبْلُغَا أَشُدَّهُمَا وَيَسْتَخْرِجَا كَنزَهُمَا رَحْمَةً مِّن رَّبِّكَ (الكهف 18: 82)4. Not of His Own Accord | "وَمَا فَعَلْتُهُ عَنْ أَمْرِي"
Al-Khidr closes his account of the wall with a single line that reframes everything Moses had objected to across all three incidents: "I did not do it ˹all˺ on my own" (18:82). He is not claiming personal insight or independent judgment; he is reporting actions carried out under Allah's own direction, which is exactly why Moses could not have arrived at the same conclusions on his own, however carefully he reasoned. Ibn Kathir explains the line as covering all three acts: what he did in these three situations was a mercy from Allah. The three acts themselves are told in the three things al-Khidr did.
يختم الخضر حديثه عن الجدار بجملةٍ واحدة تعيد تأطير كل ما اعترض عليه موسى في الحوادث الثلاث: "وما فعلته عن أمري" (الكهف 18: 82). فهو لا يدّعي بصيرةً شخصية أو اجتهادًا مستقلًا، بل يخبر عن أفعالٍ نُفِّذت بتوجيهٍ مباشر من الله، وهذا بالضبط ما جعل موسى عاجزًا عن الوصول إلى النتيجة نفسها مهما أعمل عقله وتفكيره.
وَمَا فَعَلْتُهُ عَنْ أَمْرِي ذَٰلِكَ تَأْوِيلُ مَا لَمْ تَسْطِع عَّلَيْهِ صَبْرًا (الكهف 18: 82)5. The Lesson: Apparent Harm, Hidden Wisdom | الدرس: ضررٌ ظاهر وحكمةٌ خفية
Taken together, the three explanations answer the very difficulty Al-Khidr had warned Moses about from their first conversation, that some acts cannot be judged rightly by their appearance alone. A damaged ship, a lost life, and free labor each looked like pure harm or waste in the moment; each was, once explained, a form of protection Moses had no way to see in advance. The story does not ask believers to abandon their own judgment, but to recognize that certainty about the wisdom behind every hardship is not always available, and patience remains the sound response until it is. More of what the story teaches is gathered in the lessons of the meeting between Musa and al-Khidr.
مجتمعةً، تجيب هذه التفسيرات الثلاثة عن الصعوبة ذاتها التي حذّر الخضر موسى منها منذ حوارهما الأول: أن بعض الأفعال لا يمكن الحكم عليها بمظهرها وحده. فقد بدت سفينةٌ متضررة، ونفسٌ زُهقت، وعملٌ بلا أجر، كلها ضررًا أو تضييعًا محضًا في حينه، وتبيّن كل واحدٍ منها، بعد التفسير، صورةً من الحماية لم يكن بمقدور موسى إدراكها مسبقًا. والقصة لا تدعو المؤمن إلى ترك عقله، بل إلى إدراك أن اليقين بالحكمة وراء كل ابتلاء ليس متاحًا دائمًا، وأن الصبر يبقى هو الموقف السليم حتى تتكشف.
Scholarly Insight: Al-Kahf 18:79-82 gives Al-Khidr's own explanation for all three incidents, closing with his declaration that none of it came from his own initiative. Read the fuller passage in the tafsir of Surah Al-Kahf.
Frequently Asked Questions | الأسئلة الشائعة
Why did Al-Khidr damage the ship?
To save it from a tyrant king who was seizing every good ship by force, protecting the poor owners' livelihood.
Why did Al-Khidr kill the boy?
Because he would have grown up to be a disbeliever who pressured his believing parents into transgression.
Why did Al-Khidr repair the wall for free?
To protect a treasure buried beneath it that belonged to two orphans, left by their righteous father, until they were old enough to claim it.
Did Al-Khidr act on his own judgment?
No, he explicitly said he did not do it of his own accord, describing actions carried out under Allah's direction.
What is the main lesson of the three incidents?
That apparent harm can conceal real wisdom, and patience is the right response when that wisdom is not yet visible.
Prepared by Eng. Ghada Homad, founder of IslamFAQ, researched and written in consultation with qualified scholars, reviewed by Professor Khaled Jassem Al-Houli, Associate Professor of Comparative Jurisprudence and Islamic Politics, Faculty of Sharia and Islamic Studies, University of Kuwait. Read more about the authors and this project →