Al-Kahf 18:77
فَٱنطَلَقَا حَتَّىٰٓ إِذَآ أَتَيَآ أَهْلَ قَرْيَةٍ ٱسْتَطْعَمَآ أَهْلَهَا فَأَبَوْا۟ أَن يُضَيِّفُوهُمَا فَوَجَدَا فِيهَا جِدَارًا يُرِيدُ أَن يَنقَضَّ فَأَقَامَهُۥ ۖ قَالَ لَوْ شِئْتَ لَتَّخَذْتَ عَلَيْهِ أَجْرًا
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.”
— Mustafa Khattab
Where this verse sits
Other English translations
Then they proceeded: until, when they came to the inhabitants of a town, they asked them for food, but they refused them hospitality. They found there a wall on the point of falling down, but he set it up straight. (Moses) said: "If you had wished, surely you could have exacted some recompense for it!"
And so the two went on, till, when they came upon some village people, they asked them for food; but those [people] refused them all hospitality. And they saw in that (village] a wall which was on the point of tumbling down, and [the sage] rebuilt it[whereupon Moses] said: "Hadst thou so wished, surely thou couldst [at least] have obtained some payment for it?"
So they twain journeyed on till, when they came unto the folk of a certain township, they asked its folk for food, but they refused to make them guests. And they found therein a wall upon the point of falling into ruin, and he repaired it. (Moses) said : If thou hadst wished, thou couldst have taken payment for it.
And so they travelled on. Then, when they came to a town and asked the inhabitants for food but were refused hospitality, they saw a wall there that was on the point of falling down and the man repaired it. Moses said, ‘But if you had wished you could have taken payment for doing that.’
So they set out. Until, when they reached the people of a town, they asked them for food, but they refused to offer them hospitality. There they found a wall about to collapse, and he repaired it. He said, “If you wanted, you could have obtained a payment for it.”
Then, they both set out until when they approached a people of a town. They asked its people for food. But they refused to receive them as guests. Then, they found in it a wall that wants to tumble down, so he repaired it. Moses said: If thou hadst willed, certainly, thou wouldst have taken compensation to thyself for it.
Word by word
in Quran+.
Roots in this verse
Ṭalāq, the loosing of the marriage bond; also to set out freely.
This root carries two related meanings depending on form: Form I (أَتَى) means to come in a purposeful, fulfilling way — the arrival of something that was awaited or promised.
Form IV (آتَى) means to give, to bestow, to grant — and in the Quran this form is almost always used for God's gifts: scripture, wisdom, kingship, provision.
The Arabic subtlety is profound: coming and giving share a root because true arrival *always brings something*.
Kin and household, and 'the people of' a place, a book, or a quality (ahl al-kitāb).
A village or town (qaryah) and its people, often a community tested by its Prophet.
Ṭaʿām, food and feeding; feeding the poor is a recurring act of righteousness.
Ibā', declining; Iblīs 'refused and was arrogant,' and most refuse all but disbelief.
وَجَدَ means to find — to encounter something, to discover it, or to experience an emotional state (وَجَدَ حُزْنًا — he felt grief).
In the Quran it is used for prophets finding their people in error, for people finding God's promise true, and for the fundamental human experience of finding God present: فَإِنَّهُ كَانَ لِلْأَوَّابِينَ غَفُورًا (He was ever forgiving to those who turn back — 17:25).
The root also gives وُجُود (existence) in Islamic philosophy.
أَرَادَ (Form IV of this root) is the Quran's primary verb for purposeful intention and will.
It describes both God's will (يُرِيدُ ٱللَّهُ بِكُمُ ٱلْيُسْرَ — God wants ease for you) and human desire (مَن كَانَ يُرِيدُ ٱلْحَيَوٰةَ ٱلدُّنْيَا — whoever wants the life of this world).
The tension between what God intends for us and what we want for ourselves runs through the entire Quran, resolved ultimately by aligning human إِرَادَة with divine إِرَادَة.
قَامَ means to stand, to rise, to be established.
Its forms cover: standing in prayer, rising to do right, and the يَوْمُ الْقِيَامَة (the Day of Standing — the Resurrection).
The upright (الْقَيِّم) is one who stands correctly — and القُرْآن is described as قَيِّمًا (upright, correct — 18:2).
إِقَامَة الصَّلَاة (establishing prayer) is more than performing it — it is making it stand tall in your life as the pillar it is meant to be.
قَيَّام and قَيُّوم are divine names — God as the Self-Subsisting who sustains all standing.
قَالَ is the most frequent verb in the Quran — by a wide margin, appearing over 1,600 times.
It frames the Quran as a living conversation: between God and the angels, between prophets and their peoples, between believers and God in prayer.
The root carries the full weight of meaningful speech — not idle chatter but words that move history.
Its noun قَوْل (a saying, a word) is distinct from كَلَام (speech as a continuous act); قَوْل is a discrete, weighty utterance.
شَاءَ expresses an act of will or wish.
In the Quran it operates at two levels simultaneously: divine مَشِيئَة (God's will, absolute and sovereign) and human desire (which is always conditional on God's will).
The famous verse وَمَا تَشَاءُونَ إِلَّا أَن يَشَاءَ ٱللَّهُ (You only will what God wills — 76:30) captures the entire Quranic theology of free will and divine sovereignty in six words.
Human willing is real but nested within divine willing.
أَخَذَ means to take hold of something — receiving, seizing, or grasping.
In the Quran its most awesome use is God's أَخْذ: the seizing of wrongdoers in divine punishment, described as terrible and inescapable.
وَكَذَٰلِكَ أَخْذُ رَبِّكَ إِذَآ أَخَذَ ٱلْقُرَىٰ وَهِىَ ظَـٰلِمَة (Such is the seizing of your Lord when He seizes the towns that are doing wrong — 11:102).
Its Form VIII اتَّخَذَ means 'to take as' — adopting something in a particular role, such as taking God as a protector, or taking idols as gods.
Payment for labor and the spiritual reward (ajr) promised for faith and good deeds.
Commentary
Notes by Muhammad Asad
76 Lit., "asked its people". din
Notes by Yusuf Ali
2419 The inhabitants were churlish. They broke the universal Eastern rule of hospitality to strangers, and thus showed themselves beyond the pale of ordinary human courtesies. Note that they would have been expected to offer hospitality of themselves, unasked. Here Moses and his companion actually had to ask for hospitality and were refused point-blank.
2420 As they were refused hospitality, they should, as self-respecting men, have shaken the dust of the town off their feet, or shown their indignation in some way. Instead of that, Khidr actually goes and does a benevolent act. He rebuilds for them a falling wall, and never asks for any compensation for it. Perhaps he employed local workman for it and paid them wages, thus actually benefiting a town which had treated him and his companion so shabbily! Moses is naturally surprised and asks, "Could you not at least have asked for the cost?"
Tazkirul Quran · tafsir of 18:75 to 18:78
The Prophet Moses and Khidr, God’s favoured servants, who were very near to Him, wanted the local people of a place they had reached to treat them as guests and feed them.
But they refused to do so.
This shows that it is not enough for one simply to be in oneself righteous and truthful and to be in God’s favour, in order to have a place in others’ esteem.
Had the people of that place recognized them, they would have certainly made them their guests and obtained their blessings.
But due to their ordinary outward appearance, they ignored them.
They could not see them in the light of their inner reality.
In spite of this inhospitable treatment, Khidr repaired a crumbling wall belonging to the local people.
The behaviour of God’s true and pious subjects with others is not retaliatory, but is always in accordance with the norms of justice and righteousness.
Related hadith
Hadith 1
Hadith 2
Hadith 3
Sahih al-Bukhari - Hadith 2461
The retaliation of the oppressed person
Narrated `Uqba bin 'Amir:
We said to the Prophet, "You send us out and it happens that we have to stay with people who do not entertain us. What do you think about it? He said to us, "If you stay with some people and they entertain you as they should for a guest, accept their hospitality, but if they don't, take the right of the guest from them."
Sahih | Related to Quran 18:77
Sahih al-Bukhari - Hadith 4727
The Statement of Allah the Most High: "Say (O Muḥammad pbuh): 'Shall We tell you the greatest losers in respect of (their) deeds?" (V.18:103)
Narrated Sa`id bin Jubair:
I said to Ibn `Abbas, "Nauf-al-Bakali " claims that Moses of Bani Israel was not Moses, the companion of Al-Khadir." Ibn `Abbas said, "Allah's enemy tells a lie! Ubai bin Ka`b narrated to us that Allah's Messenger (ﷺ) said, 'Moses got up to deliver a sermon before Bani Israel and he was asked, 'Who is the most learned person among the people?' Moses replied, 'I (am the most learned).' Allah then admonished Moses for he did not ascribe all knowledge to Allah only (Then) came the Divine Inspiration:-- 'Yes, one of Our slaves at the junction of the two seas is more learned than you.' Moses said, 'O my Lord ! How can meet him?' Allah said, 'Take a fish in a basket and wherever the fish is lost, follow it (you will find him at that place). So Moses set out along with his attendant Yusha` bin Noon, and they carried with them a fish till they reached a rock and rested there. Moses put his head down and slept. (Sufyan, a sub-narrator said that somebody other than `Amr said) 'At the rock there was a water spring called 'Al-Hayat' and none came in touch with its water but became alive. So some of the water of that spring fell over that fish, so it moved and slipped out of the basket and entered the sea. When Moses woke up, he asked his attendant, 'Bring our early meal' (18.62). The narrator added: Moses did not suffer from fatigue except after he had passed the place he had been ordered to observe. His attendant Yusha` bin Noon said to him, 'Do you remember (what happened) when we betook ourselves to the rock? I did indeed forget (about) the fish ...' (18.63) The narrator added: So they came back, retracing their steps and then they found in the sea, the way of the fish looking like a tunnel. So there was an astonishing event for his attendant, and there was tunnel for the fish. When they reached the rock, they found a man covered with a garment. Moses greeted him. The man said astonishingly, 'Is there any such greeting in your land?' Moses said, 'I am Moses.' The man said, 'Moses of Bani Israel?' Moses said, 'Yes,' and added, 'may I follow you so that you teach me something of the Knowledge which you have been taught?' (18.66). Al-Khadir said to him, 'O Moses! You have something of Allah's knowledge which Allah has taught you and which I do not know; and I have something of Allah's knowledge which Allah has taught me and which you do not know.' Moses said, 'But I will follow you.' Al-Khadir said, 'Then if you follow me, ask me no question about anything until I myself speak to you concerning it.' (18.70). After that both of them proceeded along the seashore. There passed by them a boat whose crew recognized Al-Khadir and received them on board free of charge. So they both got on board. A sparrow came and sat on the edge of the boat and dipped its beak unto the sea. Al-Khadir said to Moses. 'My knowledge and your knowledge and all the creation's knowledge compared to Allah's knowledge is not more than the water taken by this sparrow's beak.' Then Moses was startled by Al-Khadir's action of taking an adze and scuttling the boat with it. Moses said to him, 'These people gave us a free lift, but you intentionally scuttled their boat so as to drown them. Surely you have...' (18.71) Then they both proceeded and found a boy playing with other boys. Al-Khadir took hold of him by the head and cut it off. Moses said to him, 'Have you killed an innocent soul who has killed nobody? Surely you have done an illegal thing! ' (18.74) He said, "Didn't I tell you that you will not be able to have patient with me up to ..but they refused to entertain them as their guests. There they found a wall therein at the point of collapsing.' (18.75-77) Al-Khadir moved his hand thus and set it upright (repaired it). Moses said to him, 'When we entered this town, they neither gave us hospitality nor fed us; if you had wished, you could have taken wages for it,' Al- Khadir said, 'This is the parting between you and me I will tell you the interpretation of (those things) about which you were unable to hold patience.'...(18.78) Allah's Messenger (ﷺ) said, 'We wished that Moses could have been more patient so that He (Allah) could have described to us more about their story.' Ibn `Abbas used to recite:-- 'And in front (ahead) of them there was a king who used to seize every (serviceable) boat by force. (18.79) ...and as for the boy he was a disbeliever. "
Sahih | Related to Quran 18:74-77
Sahih al-Bukhari - Hadith 6137
To honour guest and to serve him
Narrated `Uqba bin 'Amir:
We said, "O Allah's Messenger! You send us out and it happens that we have to stay with such people as do not entertain us. What do you think about it?" Allah's Messenger (ﷺ) said to us, "If you stay with some people and they entertain you as they should for a guest, accept is; but if they do not do then you should take from them the right of the guest, which they ought to give."
Sahih | Related to Quran 18:77
Sahih Muslim - Hadith 1727
It is recommended to spend surplus wealth
'Uqba b. Amir reported: We said to Allah's Messenger (ﷺ): You send us out and we come to the people who do not give us hospitality, so what is your opinion? Thereupon Allah's Messenger (ﷺ) said: If you come to the people who order for you what is befitting a guest, accept it; but if they do not. take from them what befits them to give to a guest.
Sahih | Related to Quran 18:77
Topics
Each topic opens every verse on it. Browse all the topics, or install Quran+ Web on your phone to enjoy the full power behind this page.
One of the most powerful Quran apps, by IslamiCity.
Taking you to Surah Al-Kahf 18:77.
The first visit can take a few seconds. Please wait.
Quran+ is IslamiCity's Quran study app: listen, read the Mushaf, learn Tajweed, search by voice.
Open this verse in Quran+ · Quran+ home
Put Quran+ on your Home Screen
Open Quran+ first. Then tap the Share button in Safari and choose Add to Home Screen.