And ask them about the town which stood by the sea; when they exceeded the limits of the Sabbath, when their fish came to them on the day of their Sabbath, appearing on the surface of the water, and on the day on which they did not keep the Sabbath they did not come to them; thus did We try them because they transgressed. 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 when they forgot that whereof they had been reminded, We rescued those who forbade wrong, and visited those who did wrong with dreadful punishment because they were evil-livers. 165 And then, when they disdainfully persisted in doing what they had been forbidden to do, We said to them, "Be as apes, despised!" 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 cut them up on the earth into parties, (some) of them being righteous and (others) of them falling short of that, and We tried them with blessings and misfortunes that they might turn. 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 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 ۞ 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