At-Tawbah 9:5
فَإِذَا ٱنسَلَخَ ٱلْأَشْهُرُ ٱلْحُرُمُ فَٱقْتُلُوا۟ ٱلْمُشْرِكِينَ حَيْثُ وَجَدتُّمُوهُمْ وَخُذُوهُمْ وَٱحْصُرُوهُمْ وَٱقْعُدُوا۟ لَهُمْ كُلَّ مَرْصَدٍ ۚ فَإِن تَابُوا۟ وَأَقَامُوا۟ ٱلصَّلَوٰةَ وَءَاتَوُا۟ ٱلزَّكَوٰةَ فَخَلُّوا۟ سَبِيلَهُمْ ۚ إِنَّ ٱللَّهَ غَفُورٌ رَّحِيمٌ
Fa-itha insalakha al-ashhuru alhurumufaqtuloo almushrikeena haythu wajadtumoohum wakhuthoohumwahsuroohum waqAAudoo lahum kulla marsadinfa-in taboo waaqamoo assalatawaatawoo azzakata fakhalloo sabeelahum innaAllaha ghafoorun raheem
And when the inviolable months 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.
So, when the sacred months expire, kill the Mushriks wherever you find them, and catch them and besiege them and sit in ambush for them everywhere. Then, if they repent and establish Salāh and pay Zakāh, leave their way. Surely, Allah is most Forgiving, Very-Merciful.