The Women - 4:88
Why do you divide yourselves into two groups about the hypocrites? Allah has turned them upside down because of what they used to do. Do you want to guide those whom Allah has led astray? You will find no way for him whom Allah has led astray.
The believers who take the hypocrites as friends are warned:
The Woman Who Is Examined/60:1
O you who believe, do not take my enemy as a friend and your enemy as a friend. You show them love while they have denied the truth that has come to you and have driven out the messenger and you (from your country) because you believed in Allah, your Lord. How can you love them secretly if you have gone out on a jihad in My way to win My favor? But I know very well what you conceal and what you reveal. Whoever of you does so has gone astray from the right path.
The Women/4:44
Do you not see that those who have been given a share of the Book have bought error and wish that you should go astray?
The Women/4:45
Allah knows your enemies better. Allah is sufficient as a friend and owner, and Allah is sufficient as a helper.
The Women/4:88
Why do you divide yourselves into two groups about the hypocrites? Allah has turned them upside down because of what they used to do. Do you want to guide those whom Allah has led astray? You will find no way for him whom Allah has led astray.
The Women/4:89
They wanted you to disbelieve as they disbelieved so that you might become one with them. Do not take any of them as friends until they take action in the way of Allah. If they turn against you, seize them and kill them wherever you find them. Take them neither as friends nor as helpers;
The Pleading Woman/58:14
Have you not noticed those who take as friends a people against whom Allah is angry? They are neither of you nor of them. They knowingly swear falsely!
The Repentance/9:16
Do you think that you will be left until Allah knows and distinguishes between those among you who strive hard for Him and those who take none as close friends except Allah and His Messenger and the believers? Allah is All-Knowing of what you do.