2:224
وَلَا تَجْعَلُوا۟ ٱللَّهَ عُرْضَةً لِّأَيْمَـٰنِكُمْ أَن تَبَرُّوا۟ وَتَتَّقُوا۟ وَتُصْلِحُوا۟ بَيْنَ ٱلنَّاسِ ۗ وَٱللَّهُ سَمِيعٌ عَلِيمٌ
walā tajʿalū l-laha ʿur'ḍatan li-aymānikum an tabarrū watattaqū watuṣ'liḥū bayna l-nāsi wal-lahu samīʿun ʿalīmun
[Believers], do not allow your oaths in God’s name to hinder you from doing good, being mindful of God and making peace between people. God hears and knows everything:
And make not Allâh’s (Name) an excuse in your oaths against your doing good and acting piously, and making peace among mankind. And Allâh is All-Hearer, All-Knower (i.e. do not swear much and if you have sworn against doing something good then give an expiation for the oath and do good).