18:77

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

Transliteration:

Faintalaqa hatta itha ataya ahla qaryatin istatAAama ahlaha faabaw an yudayyifoohuma fawajada feeha jidaran yureedu an yanqadda faaqamahu qala law shi/ta laittakhathta AAalayhi ajran

Word by Word:

So they set out until when they came (to the) people (of) a town, they asked for food (from) its people, but they refused to offer them hospitality. Then they found in it a wall (that) want(ed) to collapse, so he set it straight. He said, "If you wished surely you (could) have taken for it a payment."

Translations:

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?"

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 thou hadst wished, surely thou couldst have exacted some recompense 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.

So they went on, until, when they came to the people of a town, they asked its people for food, but they refused to entertain them as guests. Then they found in it a wall which was on the point of falling, so he put it into a right state, (Moses) said: If thou hadst wished, thou couldst have taken a recompense for it.

So they set out, until when they came to the people of a town, they asked its people for food, but they refused to offer them hospitality. And they found therein a wall about to collapse, so al-Khidh r restored it. [Moses] said, "If you wished, you could have taken for it a payment."