Surah Al-Anfaal

8:33

وَمَا كَانَ ٱللَّهُ لِيُعَذِّبَهُمْ وَأَنتَ فِيهِمْ ۚ وَمَا كَانَ ٱللَّهُ مُعَذِّبَهُمْ وَهُمْ يَسْتَغْفِرُونَ

Dan Allah tidak sekali-kali akan menyeksa mereka, sedang engkau (wahai Muhammad) ada di antara mereka; dan Allah tidak akan menyeksa mereka sedang mereka beristighfar (meminta ampun).

Tafsir 8:33

But Allah would not punish your nation O Muhammad, with a punishment that destroyed them while you are living among them, for you living among them keeps them safe from this punishment. And Allah would not punish them as long as they asked Him for forgiveness for their sins.