Al-Baqarah 2:191
وَٱقْتُلُوهُمْ حَيْثُ ثَقِفْتُمُوهُمْ وَأَخْرِجُوهُم مِّنْ حَيْثُ أَخْرَجُوكُمْ ۚ وَٱلْفِتْنَةُ أَشَدُّ مِنَ ٱلْقَتْلِ ۚ وَلَا تُقَـٰتِلُوهُمْ عِندَ ٱلْمَسْجِدِ ٱلْحَرَامِ حَتَّىٰ يُقَـٰتِلُوكُمْ فِيهِ ۖ فَإِن قَـٰتَلُوكُمْ فَٱقْتُلُوهُمْ ۗ كَذَٰلِكَ جَزَآءُ ٱلْكَـٰفِرِينَ
Waqtuloohum haythuthaqiftumoohum waakhrijoohum min haythu akhrajookum walfitnatuashaddu mina alqatli wala tuqatiloohum AAindaalmasjidi alharami hatta yuqatilookumfeehi fa-in qatalookum faqtuloohum kathalikajazao alkafireen
And kill them [in battle] wherever you overtake them and expel them from wherever they have expelled you, and fitnah is worse than killing. And do not fight them at al-Masjid al-Ḥarām until they fight you there. But if they fight you, then kill them. Such is the recompense of the disbelievers.
Kill them wherever you find them, and drive them out from where they drove you out, as Fitnah (to create disorder) is more severe than killing. However, do not fight them near Al-Masjid-ul-Harām (the Sacred Mosque in Makkah) unless they fight you there. However, if they fight you (there) you may kill them. Such is the reward of the disbelievers.