Ask them about the town which was by the sea and what befell its people when they broke the Sabbath. On their Sabbath the fish came to them near the surface, but on week-days they never came near them -- thus We tried them because of their disobedience. 163 And when a party of them said: Why do you admonish a people whom Allah would destroy or whom He would chastise with a severe chastisement? They said: To be free from blame before your Lord, and that haply they may guard (against evil). 164 And when they forgot that by which they had been reminded, We saved those who had forbidden evil and seized those who wronged, with a wretched punishment, because they were defiantly disobeying. 165 So when they took pride in that which they had been forbidden, We said unto them: Be ye apes despised and loathed! 166 Behold! thy Lord did declare that He would send against them, to the Day of Judgment, those who would afflict them with grievous penalty. Thy Lord is quick in retribution, but He is also Oft-forgiving, Most Merciful. 167 And We divided them in the earth as separate groups; some of them are righteous and some are the other type; and We tested them with good (favours) and evil things (adversities) so that they may 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 ۞ When We shook the Mount over them, as if it had been a canopy, and they thought it was going to fall on them (We said): "Hold firmly to what We have given you, and bring (ever) to remembrance what is therein; perchance ye may fear Allah." 171