Al-Hajj - 22:10

ذَلِكَ بِمَا قَدَّمَتْ يَدَاكَ وَأَنَّ اللَّهَ لَيْسَ بِظَلَّامٍ لِّلْعَبِيدِ
[22:10]
This is due to what your two hands have sent before, and because Allah is not in the least unjust to the servants.
(It will be said): "This is because of the deeds which thy hands sent forth, for verily Allah is not unjust to His servants.
(And unto him it will be said): This is for that which thy two hands have sent before, and because Allah is no oppressor of His slaves.