O you who have believed, do not take My enemies and your enemies as allies, extending to them affection while they have disbelieved in what came to you of the truth, having driven out the prophet and yourselves because you believe in God, your Lord. If you have come out to strive in My cause and seeking means to My approval, [take them not as friends]. You confide to them affection, but I am most knowing of what you have concealed and what you have declared. And whoever does it among you has certainly strayed from the soundness of the way.
If they gain dominance over you, they would be to you as enemies and extend against you their hands and their tongues with evil, and they wish you would disbelieve.
Never will your relatives or your children benefit you; the Day of Resurrection He will judge between you. And God, of what you do, is Seeing.
There has already been for you an excellent pattern in Abraham and those with him, when they said to their people, "Indeed, we are disassociated from you and from whatever you worship other than God. We have denied you, and there has appeared between us and you animosity and hatred forever until you believe in God alone" except for the saying of Abraham to his father, "I will surely ask forgiveness for you, but I have not [power to do] for you anything against God. Our Lord, upon You we have relied, and to You we have returned, and to You is the destination.
Our Lord, make us not torment for the disbelievers and forgive us, our Lord. Indeed, it is You who is the Almighty, the Most Wise."
There has certainly been for you in them an excellent pattern for anyone whose hope is in God and the Last Day. And whoever turns away - then indeed, God is the Free of need, the Praiseworthy.
Perhaps God will put between you and those to whom you have been enemies among them, affection. And God is Competent, and God is Forgiving and Merciful.
God does not forbid you from those who do not fight you because of religion and do not expel you from your homes - from being righteous toward them and acting justly toward them. Indeed, God loves those who act justly.
And if you have lost any of your wives to the disbelievers and you subsequently obtain [something], then give those whose wives have gone the equivalent of what they had spent. And fear God, in whom you are believers.
O prophet, when the believing women come to you pledging to you that they will not associate anything with God, nor will they steal, nor will they commit unlawful sexual intercourse, nor will they kill their children, nor will they bring forth a slander they have invented between their arms and legs, nor will they disobey you in what is right - then accept their pledge and ask forgiveness for them of God. Indeed, God is Forgiving and Merciful.
O you who have believed, do not make allies of a people with whom God has become angry. They have despaired of [reward in] the Hereafter just as the disbelievers have despaired of [meeting] the inhabitants of the graves.