Surah Al-Hajj

22:10

ذَٰلِكَ بِمَا قَدَّمَتْ يَدَاكَ وَأَنَّ ٱللَّهَ لَيْسَ بِظَلَّٰمٍۢ لِّلْعَبِيدِ

"That is for what your hands have put forth and because Allah is not ever unjust to [His] servants."

Tafsir 22:10

It will be said to him: “That punishment which you tasted is due to the disbelief and sins you committed. Allah does not punish any of His creation except due to a sin”.