Dr. Mustafa Khattab, the Clear Quran - 7:163

Translation for 7:163

Ask them ˹O Prophet˺ about ˹the people of˺ the town which was by the sea, who broke the Sabbath.1 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.

Foot notes

76682

 The people of Aylah, an ancient town by the Red Sea, were forbidden to catch fish on the Sabbath. However, on Saturdays fish were everywhere, whereas on weekdays no fish were seen. To get around the prohibition, some decided to lay their nets on Fridays and collect the fish caught in their nets on Sundays. Those opposed to this practice were divided into two groups: one group tried to convince the offenders to honour the Sabbath, but soon gave up when their advice was not taken seriously. The second group was persistent in giving advice to the Sabbath-breakers. Eventually, the Sabbath-breakers were punished whereas the other two groups were saved.