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 preach ye to a folk whom Allah is about to destroy or punish with an awful doom, they said: In order to be free from guilt before your Lord, and that haply they may ward off (evil). 164 And when they forgot the advices they had been given, We rescued those who forbade evil, and seized the unjust with a dreadful punishment – the recompense of their disobedience. 165 Therefore when they revoltingly persisted in what they had been forbidden, We said to them: Be (as) apes, despised and hated. 166 And remember when your Lord announced the command that till the Day of Resurrection I will certainly send such oppressors against them, who will inflict them with a dreadful punishment; indeed your Lord is swift in meting out punishment; and indeed He is Oft Forgiving, Most Merciful. 167 And We cut them up into communities on the earth; some of them righteous, and some of them otherwise; and We proved them with good and evil that haply they may return. 168 And they have been succeeded by [new] generations who - [in spite of] having inherited the divine writ - clutch but at the fleeting good of this lower world and say: "We shall be forgiven, the while they are ready, if another such fleeting good should come their way, to clutch at it [and sin again]. Have they not been solemnly pledged through the divine writ not to attribute unto God aught but what is true, and [have they not] read again and again all that is therein? Since the life in the hereafter is the better [of the two] for all who are conscious of God - will you not, then, use your reason? 169 For [We shall requite] all those who hold fast to the divine writ and are constant in prayer: verily, We shall not fail to requite those who enjoin the doing of what is right! 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