And ask the people of Moses concerning the town situated along the sea how its people profaned the Sabbath when fish came to them breaking the water's surface on Sabbath days, and would not come to them on other than Sabbath-days. Thus did We try them because of their disobedience. 163 And when a certain nation of them said, 'Why do you admonish a people God is about to destroy or to chastise with a terrible chastisement?' They said, 'As an excuse to your Lord; and haply they will be godfearing.' 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 and then, when they disdainfully persisted in doing what they had been forbidden to do, We said unto them: "Be as apes despicable!" 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 And as for those who make (men) keep the Scripture, and establish worship - lo! We squander not the wages of reformers. 170 ۞ And when We shook the mountain above them as if it were a canopy, and they supposed it was about to fall on them: 'Take forcefully what We have given you, and remember what is in it; haply you will be godfearing.' 171