Medinan, 13 verses
In the name of God, the Beneficent, the Merciful.
You who believe, do not take My enemy and your enemy as your friends, offering them friendship. They have disbelieved in what has come to you in truth, driving the messenger and yourselves out because you believe in God, your Lord. If you go out to try hard in My way and look for My pleasure, (do not) offer them friendship in secret, while I know what you hide and what you disclose. And whoever among you does that, he has lost the right way.
If they overcome you, they become your enemies and they extend their hands and their tongues towards you with bad (intentions), and they wish that you disbelieve.
Your blood relatives (and close relatives) and your children will never benefit you on the Resurrection Day as He separates you, and God sees whatever you do.
There has been a good example for you in Abraham and those with him when they said to their people: “We are free of (and have nothing to do with) you and whatever you serve besides God, we disbelieve in you, and an unending enmity and hatred has appeared between us and you until you believe in God alone.” Except Abraham's word to his father (when he said:) “I shall ask forgiveness for you, although I don’t have power of anything for you from God.” Our Lord, we trust in You and we turn to You (in repentance) and the final return is to You.
Our Lord, do not make us a test for those who disbelieve, and our Lord forgive us, indeed You are the powerful, the wise.
Certainly there has been a good example in them for you, for anyone who hopes for God and the Last Day. And anyone who turns away, then (know that) indeed God is the rich (and without needs), the praiseworthy.
Perhaps God will bring about friendship between you and those of them whom you have been enemies, God is capable and God is forgiving and merciful.
God does not prohibit you from being kind and fair toward those who did not fight you about the religion (way of life) and did not drive you out of your homes. Indeed God likes the just people.
God only prohibits you from making friends with those who fought you about the religion (way of life) and drove you out of your homes and supported (others) in driving you out. And anyone who makes friend with them, then they are the wrongdoers.
You who believe, when the believing women come to you as emigrants, then examine them, even though God knows their belief better. So if you find them as believing women, then do not return them to the disbelievers, they are not lawful for them (the disbelievers) and they (the disbelievers) are not lawful for them, and give them what they had spent (for these women). And there is no blame on you if you marry them when you give them their compensations (marriage portions). And do not hold on to the (marriage) ties of disbelieving women, and ask for what you have spent and they should ask for what they have spent. This is God's command, He judges between you. God is knowledgeable and wise.
And if any of your wives goes away to the disbelievers (and disbelievers didn't pay you for what you had spent), then when your turn comes, give those (believing men) whose wives have gone away equal to what they had spent. And be cautious of God, the One Whom you believe in Him.
Prophet, when the believing women come to you pledging to you that they will not associate anything with God, and they will not steal, and they will not commit adultery (and fornication), and they will not kill their children, and they will not bring false accusation that they have made up between their hands and their feet (by falsely claiming that their husband or someone else is the father of a child that they have raised), and they will not disobey you in what is right, then accept their pledge and ask God for their forgiveness. God is indeed forgiving and merciful.
You who believe, do not make friends with people whom God’s anger is upon them, for they have lost hope of the Hereafter as the disbelievers have lost hope of the inhabitants of the graves (that their dead would not return to life).