And question them concerning the township which was bordering the sea, when they transgressed the Sabbath, when their fish came to them on the day of their Sabbath, swimming shorewards, but on the day they kept not Sabbath, they came not unto them. Even so We were trying them for their ungodliness. 163 When some of them said: "Why do ye preach to a people whom Allah will destroy or visit with a terrible punishment?"- said the preachers:" To discharge our duty to your Lord, and perchance they may fear Him." 164 Then, when they forgot what they had been exhorted, We delivered those who forbade evil and afflicted the wrong-doers with a grievous chastisement because of their evildoing. 165 And when they had scornfully persisted in what they had been forbidden, We said to them: 'Be apes, despised' 166 And [mention] when your Lord declared that He would surely [continue to] send upon them until the Day of Resurrection those who would afflict them with the worst torment. Indeed, your Lord is swift in penalty; but indeed, He is Forgiving and Merciful. 167 We dispersed them in groups over the earth, some righteous, some otherwise; and We tried them with good things and bad, that they may haply turn back. 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 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