اِنَّمَا يَنْهٰىكُمُ اللّٰهُ عَنِ الَّذِيْنَ قَاتَلُوْكُمْ فِى الدِّيْنِ وَاَخْرَجُوْكُمْ مِّنْ دِيَارِكُمْ وَظَاهَرُوْا عَلٰٓى اِخْرَاجِكُمْ اَنْ تَوَلَّوْهُمْۚ وَمَنْ يَّتَوَلَّهُمْ فَاُولٰۤىِٕكَ هُمُ الظّٰلِمُوْنَ ( الممتحنة: ٩ )
Innamaa yanhaakumul laahu 'anil lazeena qaatalookum fid deeni wa akhrajookum min diyaarikum wa zaaharoo 'alaa ikhraajikum an tawallawhum; wa many yatawallahum faulaaa'ika humuz zaalimoon (al-Mumtaḥanah 60:9)
Sahih International:
Allah only forbids you from those who fight you because of religion and expel you from your homes and aid in your expulsion – [forbids] that you make allies of them. And whoever makes allies of them, then it is those who are the wrongdoers. (Al-Mumtahanah [60] : 9)
1 Mufti Taqi Usmani
Allah forbids you only about those who fought you on account of faith, and expelled you from your homes, and helped (others) in expelling you, that you have friendship with them. Those who develop friendship with them are the wrongdoers.