Surah Ghafir, ayah 31

40:31

مِثۡلَ دَأۡبِ قَوۡمِ نُوحٖ وَعَادٖ وَثَمُودَ وَٱلَّذِينَ مِنۢ بَعۡدِهِمۡۚ وَمَا ٱللَّهُ يُرِيدُ ظُلۡمٗا لِّلۡعِبَادِ ٣١

Mithla da'bi qawmi nūhin wa'ādin wathamūda walladhīna mim ba'dihim wamallāhu yurīdu zulmal lil-'ibād

Like the custom of the people of Noah and of ʿAad and Thamūd and those after them. And Allāh wants no injustice for [His] servants.