2:224
وَ لَا تَجْعَلُ وا۟ ٱللَّهَ عُرْضَةً لِّ أَيْمَٰنِ كُمْ أَن تَبَرُّ وا۟ وَ تَتَّقُ وا۟ وَ تُصْلِحُ وا۟ بَيْنَ ٱل نَّاسِ وَ ٱللَّهُ سَمِيعٌ عَلِيمٌ
And do not make [your oath by] Allah an excuse against being righteous and fearing Allah and making peace among people. And Allah is Hearing and Knowing.
60:8
لَّا يَنْهَىٰ كُمُ ٱللَّهُ عَنِ ٱلَّذِينَ لَمْ يُقَٰتِلُ و كُمْ فِى ٱل دِّينِ وَ لَمْ يُخْرِجُ و كُم مِّن دِيَٰرِ كُمْ أَن تَبَرُّ و هُمْ وَ تُقْسِطُ وٓا۟ إِلَيْ هِمْ إِنَّ ٱللَّهَ يُحِبُّ ٱلْ مُقْسِطِينَ
Allah does not forbid you from those who do not fight you because of religion and do not expel you from your homes - from being righteous toward them and acting justly toward them. Indeed, Allah loves those who act justly.