Ask them about the village that overlooked the sea and what befell (its people) when they broke the Sabbath. Each Sabbath, their fish came swimming towards the shore, but on other days they did not come to them. As such We tempted them (the people) because they had done wrong. 163 And when a community among them said: Why preach ye to a folk whom Allah is about to destroy or punish with an awful doom, they said: In order to be free from guilt before your Lord, and that haply they may ward off (evil). 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 When in their insolence they transgressed (all) prohibitions, We said to them: "Be ye apes, despised and rejected." 166 And [mention] when your Lord declared that He would surely [continue to] send upon them until the Day of Resurrection those who would afflict them with the worst torment. Indeed, your Lord is swift in penalty; but indeed, He is Forgiving and 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 Then there succeeded them a posterity; they inherited the Book, taking this near world's gear and saying: surety it will be forgiven. And if there cometh unto them gear like thereunto they shall take it. Hath there not lain upon them the bond of the Book that they shall not say of God aught but the truth? And they have read that which is therein. And the abode of the Hereafter is better for those who fear. Understand then ye not? 169 As for those who adhere to the Book and are firm in devotion, We shall certainly not let the wages of those who are upright to go 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