Surah Al-An'am (الأنعام) · verse 131 (Meccan · Juz 8 · page 144)
ذَٰلِكَ أَن لَّمْ يَكُن رَّبُّكَ مُهْلِكَ ٱلْقُرَىٰ بِظُلْمٍ وَأَهْلُهَا غَٰفِلُونَ ﴿131﴾
التفسير الميسر
إنما أعذرنا إلى الثقلين بإرسال الرسل وإنزال الكتب، لئلا يؤاخَذَ أحد بظلمه، وهو لم تبلغه دعوة، ولكن أعذرنا إلى الأمم، وما عذَّبنا أحدًا إلا بعد إرسال الرسل إليهم
Sahih International
That is because your Lord would not destroy the cities for wrongdoing while their people were unaware
Marmaduke Pickthall
This is because thy Lord destroyeth not the townships arbitrarily while their people are unconscious (of the wrong they do)
Abdullah Yusuf Ali
(The messengers were sent) thus, for thy Lord would not destroy for their wrong-doing men's habitations whilst their occupants were unwarned