God enjoins you only from befriending those who fight you because of religion, evict you from your homes, and band together with others to banish you. You shall not befriend them. Those who befriend them are the transgressors.
إِنَّما يَنهىٰكُمُ اللَّهُ عَنِ الَّذينَ قٰتَلوكُم فِى الدّينِ وَأَخرَجوكُم مِن دِيٰرِكُم وَظٰهَروا عَلىٰ إِخراجِكُم أَن تَوَلَّوهُم وَمَن يَتَوَلَّهُم فَأُولٰئِكَ هُمُ الظّٰلِمونَ
innamaa yanhaakumul laahu ‘anil lazeena qaatalookum fid deeni wa akhrajookum min diyaarikum wa zaaharoo ‘alaa ikhraajikum an tawallawhum; wa many yatawallahum fa ulaaa’ika humuz zaalimoon