(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 a group of them questioned another group saying, "Why do you preach to those whom God has decided to destroy or punish by a severe torment?" they replied, "We preach to them for we are responsible in the sight of your Lord and so that perhaps they may have fear of God." 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 So when they exceeded the limits of what they were prohibited, We said to them: "Be you monkeys, despised and rejected." (It is a severe warning to the mankind that they should not disobey what Allah commands them to do, and be far away from what He prohibits them). 166 And your Lord declared He would send men against them who would inflict dreadful suffering on them till the Day of Doom, for your Lord is swift in retribution, though He is certainly forgiving and kind. 167 We dispersed them through the earth in nations some were righteous, others were not, and tested them with good and evil in order that they 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 Those who devote themselves to the teachings of the Book and are steadfast in prayer (should know that) the reward of those who reform themselves will not be lost. 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