4:147

مَّا يَفْعَلُ اللَّهُ بِعَذَابِكُمْ إِن شَكَرْتُمْ وَآمَنتُمْ وَكَانَ اللَّهُ شَاكِرًا عَلِيمًا

Transliteration:

Ma yafAAalu Allahu biAAathabikum in shakartum waamantum wakana Allahu shakiran AAaleeman

Word by Word:

What would Allah do by punishing you if you are grateful and you believe? And Allah is All-Appreciative, All-Knowing.

Translations:

Why would God cause you to suffer [for your past sins] if you are grateful and attain to belief - seeing that God is always responsive to gratitude, all-knowing?

What can God gain by your punishment, if ye are grateful and ye believe? Nay, it is God that recogniseth (all good), and knoweth all things.

What concern hath Allah for your punishment if ye are thankful (for His mercies) and believe (in Him)? Allah was ever Responsive, Aware.

Why should Allah chastise you if you are grateful and believe? And Allah is ever Multiplier of rewards, Knowing.

What would Allah do with your punishment if you are grateful and believe? And ever is Allah Appreciative and Knowing.