Surah Al-Mumtahanah 60:9
إِنَّمَا يَنْهَىٰكُمُ ٱللَّهُ عَنِ ٱلَّذِينَ قَـٰتَلُوكُمْ فِى ٱلدِّينِ وَأَخْرَجُوكُم مِّن دِيَـٰرِكُمْ وَظَـٰهَرُوا۟ عَلَىٰٓ إِخْرَاجِكُمْ أَن تَوَلَّوْهُمْ ۚ وَمَن يَتَوَلَّهُمْ فَأُو۟لَـٰٓئِكَ هُمُ ٱلظَّـٰلِمُونَ
Allāh 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.
Translation: Saheeh International
Tafsir
God only forbids you in regard to those who waged war against you on account of religion and expelled you from your homes and supported others in your expulsion that you should make friends with them an tawallawhum is an inclusive substitution for alladhīna ‘those who’. …
Excerpt from Tafsir al-Jalalayn, commentary on 60:9, via Quran.com. The reader has the full commentary and 9 more tafsirs.