Sure Al-A'raaf

7:165

فَلَمَّا نَسُوا۟ مَا ذُكِّرُوا۟ بِهِۦٓ أَنجَيْنَا ٱلَّذِينَ يَنْهَوْنَ عَنِ ٱلسُّوٓءِ وَأَخَذْنَا ٱلَّذِينَ ظَلَمُوا۟ بِعَذَابٍۭ بَـِٔيسٍۭ بِمَا كَانُوا۟ يَفْسُقُونَ

Und als sie vergessen hatten, womit sie ermahnt worden waren, retteten Wir diejenigen, die das Böse verboten, und ergriffen diejenigen, die Unrecht taten, mit schlimmer Strafe dafür, daß sie zu freveln pflegten.

Tafsir 7:165

When the wrongdoers turned away from what those who advised them had reminded them of, and they would not give up their disobedience, Allah saved the group which had forbidden disobedience from the punishment, and afflicted those who transgressed the limits by fishing on the Saturday with a firm punishment, because they were not obedient to Allah and persisted in their rebellion.