(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 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 Therefore when they forgot what they had been reminded of, We saved those who had tried to prevent the doing of evil. And We meted out a severe punishment to the transgressors because they were rebellious. 165 So when they were insolent about that which they had been forbidden, We said to them, "Be apes, despised." 166 Then your Lord declared He would send against them he who would oppress them cruelly till the Day of Resurrection. Swift is the retribution of your Lord, yet surely He is Forgiving, the Most Merciful. 167 And We have sundered them in the earth as (separate) nations. Some of them are righteous, and some far from that. And We have tried them with good things and evil things that haply they might 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 (as for) those who hold fast by the Book and keep up prayer, surely We do not waste the reward of the right doers. 170 ۞ And recall when We shook the mountain over them as though it were a canopy, and they thought that it was going to fall over them; and We said: 'Hold firmly to that which We have given you, and remember what is in it, that you may guard against evil. 171