At-Tawbah 9:23
يَـٰٓأَيُّهَا ٱلَّذِينَ ءَامَنُوا۟ لَا تَتَّخِذُوٓا۟ ءَابَآءَكُمْ وَإِخْوَٰنَكُمْ أَوْلِيَآءَ إِنِ ٱسْتَحَبُّوا۟ ٱلْكُفْرَ عَلَى ٱلْإِيمَـٰنِ ۚ وَمَن يَتَوَلَّهُم مِّنكُمْ فَأُو۟لَـٰٓئِكَ هُمُ ٱلظَّـٰلِمُونَ
Ya ayyuha allatheena amanoola tattakhithoo abaakum wa-ikhwanakumawliyaa ini istahabboo alkufra AAala al-eemaniwaman yatawallahum minkum faola-ika humu aththalimoon
O you who have believed, do not take your fathers or your brothers as allies if they have preferred disbelief over belief. And whoever does so among you - then it is those who are the wrongdoers.
O you who believe, do not take your fathers and your brothers as your friends, if they prefer infidelity to Faith. Those of you who have friendship with them are the wrongdoers.