Surah At-Tawbah, ayah 5

9:5

فَإِذَا ٱنسَلَخَ ٱلۡأَشۡهُرُ ٱلۡحُرُمُ فَٱقۡتُلُواْ ٱلۡمُشۡرِكِينَ حَيۡثُ وَجَدتُّمُوهُمۡ وَخُذُوهُمۡ وَٱحۡصُرُوهُمۡ وَٱقۡعُدُواْ لَهُمۡ كُلَّ مَرۡصَدٖۚ فَإِن تَابُواْ وَأَقَامُواْ ٱلصَّلَوٰةَ وَءَاتَوُاْ ٱلزَّكَوٰةَ فَخَلُّواْ سَبِيلَهُمۡۚ إِنَّ ٱللَّهَ غَفُورٞ رَّحِيمٞ ٥

Fa idhansalakhal-ashhurul-hurumu faqtulul-mushrikīna haythu wajattumūhum wakhudhūhum wahsurūhum waq'udū lahum kulla marsadin fa in tābū wa aqāmus-salawāta wa ātawuz-zakawāta fakhallū sabīlahum innallāha ghafūrur rahīm

And when the inviolable months464 have passed, then kill the polytheists wherever you find them and capture them and besiege them and sit in wait for them at every place of ambush. But if they should repent, establish prayer, and give zakāh, let them [go] on their way. Indeed, Allāh is Forgiving and Merciful.

Footnotes

464 The four months mentioned in verse 2, in which the disbelievers were allowed free movement within the land. Other scholars have interpreted them as "the sacred months," i.e., Muḥarram, Rajab, Dhul-Qaʿdah and Dhul-Ḥijjah.