The Cow - 2:286 "Allah burdens each person only up to his capacity. The good that each person earns is for his own benefit and the evil that he earns is for his own loss. "Our Lord, do not hold us responsible if we forget or err! Our Lord, do not burden us with burdens as You burdened those before us! Our Lord, do not burden us with what we are not able to bear; forgive us and have pity on us! You are our Mawla (master and sovereign). Help us against the community of disbelievers!"
Related:
The Bee/16:119 Nevertheless, your Lord is Forgiving, Merciful to those who do evil out of ignorance, then repent and reform, yes, your Lord is Forgiving, Merciful after that.

The Women/4:17 To Allah belongs the acceptance of the repentance of those who commit an evil out of ignorance and then repent. Allah accepts their repentance. Allah is All-Knowing, All-Wise.

The Cow/2:225 Allah does not hold you responsible for your unintentional oaths, but He holds you responsible for the true intention in your hearts. Allah is Forgiving, Compassionate.