(Muhammad), ask them about the (people of the) towns on the seashore. They had transgressed by catching fish on the Sabbath. Each Sabbath the fish came openly within their reach but not so on other days. Thus, We were testing them because of their evil deeds. 163 And when some asked: 'Why do you admonish a nation whom Allah will destroy or sternly punish' They replied: '(Seeking) a pardon from your Lord, and in order that they may be cautious' 164 So, when they forgot that they were reminded of; We delivered those who were forbidding wickedness, and We seized the evildoers with evil chastisement for their ungodliness. 165 So when they were insolent about that which they had been forbidden, We said to them, "Be 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 And We dispersed them as [separate] communities all over the earth; some of them were righteous, and some of them less than that: and the latter We tried with blessings as well as with afflictions, so that they might mend their ways. 168 Then others succeeded them who inherited the scriptures, and yet kept themselves occupied in acquiring the goods of this world and kept saying: 'We shall be forgiven.' And when there comes to them an opportunity for acquiring more of those goods, they seize it. Was not the covenant of the Book taken from them that they would not ascribe to Allah anything but the truth? And they have read what is in the Book and know that the abode of the Hereafter is better for the God-fearing. Do you not understand? 169 Those who hold fast to the Book and establish Prayer - We shall not allow the reward of such righteous men to go to waste. 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