allah forbids you only in regard to those who made war against you on account of religion and expelled you from your homes and supported in your expulsion that you make friends with them and whoever makes friends with them—it is they who are the wrongdoers.
إنما ينهاكم الله عن الذين قاتلوكم في الدين وأخرجوكم من دياركم وظاهروا على إخراجكم أن تولوهم ومن يتولهم فأولئك هم الظالمون