Sura Al-Kahf

18:77

فَٱنطَلَقَا حَتَّىٰٓ إِذَآ أَتَيَآ أَهْلَ قَرْيَةٍ ٱسْتَطْعَمَآ أَهْلَهَا فَأَبَوْا۟ أَن يُضَيِّفُوهُمَا فَوَجَدَا فِيهَا جِدَارًۭا يُرِيدُ أَن يَنقَضَّ فَأَقَامَهُۥ ۖ قَالَ لَوْ شِئْتَ لَتَّخَذْتَ عَلَيْهِ أَجْرًۭا

Och de vandrade vidare tills de kom till en by och bad dess invånare om mat, men de visade sig ogästvänliga. Sedan fann de en mur som hotade att störta samman och som [den vise mannen] byggde upp. [Och Moses] utropade: "Hade du velat kunde du säkert ha fått ersättning för detta."

Tafsir 18:77

They then walked until they came to the people of a village from whom they asked for food, but the people of the village refused to feed them and fulfil the right of hospitality towards them. Then they found a wall in the village which was tilting, and about to fall and break. So Khidr fixed it until it was straight, so Moses (peace be upon him) said to Khidr: “If you wanted to take a wage for fixing it, you could have, as we need it after they have refused to host us”.