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 .