And this is a proclamation from Allah and His Messenger to all people on the day of the greater pilgrimage: Allah and His Messenger are free of obligation toward the polytheists. So if you repent, it is better for you. But if you turn away, then know that you cannot escape Allah. And give those who reject faith news of a painful punishment.
Except those polytheists with whom you made a treaty, who then failed you in nothing and supported no one against you. Fulfil your treaty with them until its term ends. Allah loves those who are mindful of Him.
Then, when the sacred months have passed, fight the polytheists wherever you encounter them, capture them, surround them, and lie in wait for them at every point of ambush. But if they repent, establish prayer, and give zakah, then let them go their way. Allah is Most Forgiving, Most Merciful.
And if any of the polytheists asks you for protection, then grant him protection so that he may hear the words of Allah. Then escort him to a place of safety. That is because they are a people who do not know.
How can the polytheists have a treaty with Allah and His Messenger, except those with whom you made a treaty at the Sacred Mosque? As long as they remain true to you, remain true to them. Allah loves those who are mindful of Him.
How could they? If they gain the upper hand over you, they will respect neither ties of kinship nor any covenant concerning you. They please you with their words, while their hearts refuse, and most of them are defiantly disobedient.
But if they break their oaths after making their treaty and attack your faith, then fight the leaders of disbelief, for their oaths mean nothing to them, so that they may stop.
Will you not fight a people who broke their oaths, intended to drive out the Messenger, and were the first to attack you? Do you fear them? Allah is more worthy of your fear, if you are believers.
Or did you think you would be left without Allah making clear those among you who strive and take no close confidant besides Allah, His Messenger, and the believers? Allah is fully aware of what you do.
It is not for the polytheists to maintain Allah's mosques while bearing witness against themselves to disbelief. Their deeds have come to nothing, and they will remain in the Fire.
Allah's mosques are maintained by those who believe in Allah and the Last Day, establish prayer, give zakah, and fear none but Allah. It is they who may be among those rightly guided.
Do you consider giving water to pilgrims and maintaining the Sacred Mosque equal to believing in Allah and the Last Day and striving in Allah's way? They are not equal before Allah. Allah does not guide the wrongdoing people.
Those who believe, migrate, and strive in Allah's way with their wealth and their lives are greater in rank before Allah. It is they who are the successful.
O you who believe, do not take your fathers and brothers as allies if they prefer disbelief over faith. Whoever among you takes them as allies, it is they who are the wrongdoers.
Say, 'If your fathers, your children, your brothers, your spouses, your relatives, the wealth you have acquired, the trade you fear may decline, and the homes you love are dearer to you than Allah, His Messenger, and striving in His way, then wait until Allah brings His command. Allah does not guide the defiantly disobedient people.'