The Repentance - 9:106
Another group awaits the judgment of Allah. He will either punish them or accept their repentance. Allah is All-Knowing, All-Wise.
Our Lord's condition for the forgiveness of repentant hypocrites:
The Victory/48:16
"Say to the remnant of the Arabs, "You will be called upon against a powerful people. You will fight them until they surrender. If you obey, Allah will give you a good reward. If you turn away, as you turned away before, He will punish you with a painful torment."