16:94
وَ لَا تَتَّخِذُ وٓا۟ أَيْمَٰنَ كُمْ دَخَلًۢا بَيْنَ كُمْ فَ تَزِلَّ قَدَمٌۢ بَعْدَ ثُبُوتِ هَا وَ تَذُوقُ وا۟ ٱل سُّوٓءَ بِ مَا صَدَد تُّمْ عَن سَبِيلِ ٱللَّهِ وَ لَ كُمْ عَذَابٌ عَظِيمٌ
And do not take your oaths as [means of] deceit between you, lest a foot slip after it was [once] firm, and you would taste evil [in this world] for what [people] you diverted from the way of Allah, and you would have [in the Hereafter] a great punishment.
2:209
فَ إِن زَلَلْ تُم مِّنۢ بَعْدِ مَا جَآءَتْ كُمُ ٱلْ بَيِّنَٰتُ فَ ٱعْلَمُ وٓا۟ أَنَّ ٱللَّهَ عَزِيزٌ حَكِيمٌ
But if you deviate after clear proofs have come to you, then know that Allah is Exalted in Might and Wise.