9:1
Surat al-Tawba is Madinan, except the last two verses, which are Makkan; its verses are 129; it was revealed after al-Ma'ida. The basmala was not written in it because he (peace be upon him) did not command that, as is taken from a hadith narrated by al-Hakim. He also reported, to the same effect, from 'Ali that the basmala is security, and this surah was revealed to remove security by the sword. And from Hudhayfa: "You call it Surat al-Tawba, but it is the surah of punishment." Al-Bukhari narrated from al-Bara' that it is the last surah revealed.
This is ﴿Freedom from obligation from Allah and His messenger﴾ reaching ﴿toward those of the idolaters with whom ye made a treaty﴾ a treaty that was unrestricted, or for less than four months, or for more than that; and the treaty is specified by what is mentioned in His saying:
9:2
﴿Travel freely﴾, journey in safety, O idolaters, ﴿in the land four months﴾, the first of which is Shawwal, by the proof of what will come, and there is no security for you after it. ﴿and know that ye cannot escape Allah﴾, that is, outstrip His punishment, ﴿and that Allah will confound the disbelievers﴾, humiliate them in this world by killing and in the other by the Fire.
9:3
﴿And a proclamation﴾, an announcement, ﴿from Allah and His messenger to all men on the day of the Greater Pilgrimage﴾, the Day of Sacrifice, ﴿that﴾, that is, bi-anna, ﴿Allah is free from obligation to the idolaters﴾ and their treaties, ﴿and (so is) His messenger﴾, free also. "The Prophet (peace be upon him) sent 'Ali in that year, the year nine, and he proclaimed on the Day of Sacrifice at Mina these verses, and that no idolater should perform the pilgrimage after that year, and that none should circumambulate the House naked." Narrated by al-Bukhari. ﴿So, if ye repent﴾ of disbelief ﴿it will be better for you; but if ye are averse﴾ from faith, ﴿then know that ye cannot escape Allah. Give tidings﴾, inform ﴿those who disbelieve of a painful doom﴾, painful, which is killing and capture in this world and the Fire in the Hereafter.
9:4
﴿Excepting those of the idolaters with whom ye have a treaty, and who have since abated nothing﴾ of the conditions of the treaty ﴿nor have supported﴾, aided, ﴿anyone against you﴾ of the disbelievers. ﴿(As for these), fulfil their treaty to them till﴾ the expiry of ﴿their term﴾ for which you made the treaty with them. ﴿Lo! Allah loveth those who keep their duty (unto Him)﴾ by fulfilling treaties.
9:5
﴿Then, when it has elapsed﴾ gone out ﴿the sacred months﴾ and that is the end of the period of deferment ﴿slay the idolaters wherever ye find them﴾ whether outside the Sanctuary or within it ﴿and take them﴾ captive ﴿and besiege them﴾ in the citadels and fortresses until they are driven to choose killing or Islam ﴿and prepare for them each ambush﴾ every path they travel. The word kull is in the accusative by removal of the preposition. ﴿But if they repent﴾ of disbelief ﴿and establish worship and pay the poor-due, then leave their way free﴾ and do not molest them ﴿Lo! Allah is Forgiving, Merciful﴾ to whoever repents.
9:6
﴿And if anyone of the idolaters﴾ is in the nominative, governed by a verb that ﴿seeketh thy protection﴾ explains: he asks you for safety from being killed ﴿then protect him﴾ grant him safety ﴿so that he may hear the Word of Allah﴾ the Qur'an ﴿and afterward convey him to his place of safety﴾ which is the abode of his people, if he does not believe, so that he may consider his affair ﴿That﴾ which is mentioned ﴿is because they are a folk who know not﴾ the religion of Allah, so they must hear the Qur'an in order that they may know.
9:7
﴿How﴾ that is, there cannot ﴿be a treaty with Allah and with His messenger for the idolaters﴾ when they are disbelievers in Allah and His Messenger, and treacherous ﴿save those with whom ye made a treaty at the Inviolable Place of Worship﴾ on the day of al-Hudaybiya. They are Quraysh, who were excepted earlier ﴿So long as they are true to you﴾ they stood firm by the treaty and did not break it, and ma is conditional ﴿be true to them. Lo! Allah loveth those who keep their duty﴾ in fulfilling it. The Prophet (peace be upon him) did stand true to their treaty until they broke it by helping Banu Bakr against Khuza'a.
9:8
﴿How﴾ can they have a treaty ﴿when, if they have the upper hand of you﴾ gain the victory over you (the conditional clause is a hal, a circumstantial clause) ﴿they regard not﴾ they observe ﴿in respect of you﴾ ﴿honour﴾ that is, kinship ﴿nor pact﴾ a covenant; rather they harm you as much as they are able ﴿They satisfy you with their mouths﴾ with their fair words ﴿the while their hearts refuse﴾ to fulfil it ﴿And most of them are wrongdoers﴾ breakers of the covenant.