Surah Al-Baqarah, ayah 225

2:225

لَّا يُؤَاخِذُكُمُ ٱللَّهُ بِٱللَّغۡوِ فِيٓ أَيۡمَٰنِكُمۡ وَلَٰكِن يُؤَاخِذُكُم بِمَا كَسَبَتۡ قُلُوبُكُمۡۗ وَٱللَّهُ غَفُورٌ حَلِيمٞ ٢٢٥

Llā yu'ākhidhukumullāhu bil-laghwi fī aymānikum walākin yu'ākhidhukum bimā kasabat qulūbukum wallāhu ghafūrun halīm

Allāh does not impose blame upon you for what is unintentional in your oaths, but He imposes blame upon you for what your hearts have earned. And Allāh is Forgiving and Forbearing.84

Footnotes

84 Overlooking many violations, postponing penalty and granting opportunities for repentance and rectification despite having the power to punish immediately.