Ask them (O Muhammad) of the township that was by the sea, how they did break the Sabbath, how their big fish came unto them visibly upon their Sabbath day and on a day when they did not keep Sabbath came they not unto them. Thus did We try them for that they were evil-livers. 163 And when a community among them said, "Why do you advise [or warn] a people whom Allah is [about] to destroy or to punish with a severe punishment?" they [the advisors] said, "To be absolved before your Lord and perhaps they may fear Him." 164 Then when they forgot that wherewith they had been exhorted, We delivered those who restrained from evil, and We laid hold of those who did wrong with a distressing torment for they were wont to transgress. 165 So when they exceeded the bounds of that which they were prohibited We said unto them: be ye apes despised. 166 (Muhammad), consider, when your Lord declared to the (Israelites) His decision to raise a people above them who would make them suffer the worst kinds of torments until the Day of Judgment. Certainly your Lord's retribution is swift. He is All-forgiving and All-merciful. 167 And We cut them up into communities on the earth; some of them righteous, and some of them otherwise; and We proved them with good and evil that haply they may return. 168 After them succeeded an (evil) generation: They inherited the Book, but they chose (for themselves) the vanities of this world, saying (for excuse): "(Everything) will be forgiven us." (Even so), if similar vanities came their way, they would (again) seize them. Was not the covenant of the Book taken from them, that they would not ascribe to Allah anything but the truth? and they study what is in the Book. But best for the righteous is the home in the Hereafter. Will ye not understand? 169 And those who hold fast to the Book, and perform the prayer -- surely We leave not to waste the wage of those who set aright. 170 ۞ And when We shook the mountain over them as if it were a covering overhead, and they thought that it was going to fall down upon them: Take hold of what We have given you with firmness, and be mindful of what is in it, so that you may guard (against evil). 171