(Muhammad), ask them about the (people of the) towns on the seashore. They had transgressed by catching fish on the Sabbath. Each Sabbath the fish came openly within their reach but not so on other days. Thus, We were testing them because of their evil deeds. 163 When some of them asked, "Why do you admonish a people whom God is going to destroy or to afflict with a severe punishment?" They answered, "In order to be free from blame before your Lord, and that they may perhaps fear Him." 164 And thereupon, when those [sinners] had forgotten all that they had been told to take to heart, We saved those who had tried to prevent the doing of evil, and overwhelmed those who had been bent on evildoing with dreadful suffering for all their iniquity; 165 And when they persisted in pursuing that which had been forbidden We said: 'Become despised apes.' 166 And when your Lord announced that He would certainly send against them to the day of resurrection those who would subject them to severe torment; most surely your Lord is quick to requite (evil) and most surely He is Forgiving, Merciful. 167 And We dispersed them through the earth in communities - some were righteous, others were not -and We tested them with prosperity and adversity that they may turn back (to righteousness). 168 And there succeeded after them a succession who inherited the Book, taking the chance goods of this lower world, and saying, 'It will be forgiven us'; and if chance goods the like of them come to them, they will take them. Has not the compact of the Book been taken touching them, that they should say concerning God nothing but the truth? And they have studied what is in it; and the Last Abode is better for those who are godfearing. Do you not understand? 169 And as to those who hold fast to the Book (i.e. act on its teachings) and perform As-Salat (Iqamat-as-Salat), certainly, We shall never waste the reward of those who do righteous deeds. 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