Ask them concerning the town standing close by the sea. Behold! they transgressed in the matter of the Sabbath. For on the day of their Sabbath their fish did come to them, openly holding up their heads, but on the day they had no Sabbath, they came not: thus did We make a trial of them, for they were given to transgression. 163 And when a community among them said: "Why do you preach to a people whom Allah is about to destroy or to punish with a severe torment?" (The preachers) said: "In order to be free from guilt before your Lord (Allah), and perhaps they may fear Allah." 164 And when they forgot that by which they had been reminded, We saved those who had forbidden evil and seized those who wronged, with a wretched punishment, because they were defiantly disobeying. 165 So when they exceeded the bounds of that which they were prohibited We said unto them: be ye apes despised. 166 And recall what time thy Lord proclaimed that he would surely raise upon them, till the Day of Resurrection, someone perpetrating upon them worst oppression. Verily thy Lord is swift in chastising, and verily He is Forgiving, Merciful. 167 We dispersed them through the earth in nations some were righteous, others were not, and tested them with good and evil in order that they return. 168 They were succeeded by generations who inherited the Scripture and took to the fleeting gains of this world, saying, "We shall certainly be forgiven." If there came to them similar fleeting gains again, they would take them. Was a pledge not taken from them, written in the Scripture, that they would not say anything but the truth about God? And they have studied whatever is in it. Surely the Home of the Hereafter is better for those who fear Him. Will you not understand? 169 And those who hold fast to the Book, and have kept the prayer established; and We do not waste the wages of the righteous. 170 ۞ And (remember) when We raised the mountain over them as if it had been a canopy, and they thought that it was going to fall on them. (We said): "Hold firmly to what We have given you [i.e. the Taurat (Torah)], and remember that which is therein (act on its commandments), so that you may fear Allah and obey Him." 171