2-Surah Al-Baqarah ( The Cow ) 66
And We made it a deterrent punishment for those who were present and those who succeeded [them] and a lesson for those who fear Allah.
فَجَعَلْنَاهَا نَكَالًا لِّمَا بَيْنَ يَدَيْهَا وَمَا خَلْفَهَا وَمَوْعِظَةً لِّلْمُتَّقِينَ
Quran's Tafhim ( explanation)