2:65. And indeed you knew those amongst you who transgressed in the matter of the Sabbath (i.e. Saturday). We said to them: “Be you monkeys, despised and rejected.”
2:66. So We made this punishment an example to present and future generations, and a lesson for those who fear Allah.
7:163 Ask them ˹O Prophet˺ about ˹the people of˺ the town which was by the sea, who broke the Sabbath. During the Sabbath, ˹abundant˺ fish would come to them clearly visible, but on other days the fish were never seen. In this way We tested them for their rebelliousness.
7:164 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."
7:165When they ignored the warning they were given, We rescued those who used to warn against evil and overtook the wrongdoers with a dreadful punishment for their rebelliousness.
7:166 So when they exceeded the limits of what they were prohibited, We said to them: "Be you monkeys, despised and rejected."