And ask them about that town which stood by the sea: how its people would profane the Sabbath whenever their fish came to them, breaking the water's surface, on a day on which they ought to have kept Sabbath - because they would not come to them on other than Sabbath-days! Thus did We try them by means of their [own] iniquitous doings. 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 When they disregarded the warnings that had been given them, We rescued those who forbade Evil; but We visited the wrong-doers with a grievous punishment because they were given to transgression. 165 So when they took pride in that which they had been forbidden, We said unto them: Be ye apes despised and loathed! 166 Then your Lord declared that, until the Day of Resurrection, He would send others against them to inflict terrible suffering on them. Your Lord is swift in retribution; yet surely He is most forgiving and 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 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 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 ۞ When We suspended the mountain over them as if it were a canopy, and they thought it was going to fall down on them, We said, "Hold on firmly to what We have given you and remember what is in it, so that you may remain conscious of God." 171