Al-Baqarah 2:191
وَاقْتُلُوهُمْ حَيْثُ ثَقِفْتُمُوهُمْ وَأَخْرِجُوهُم مِّنْ حَيْثُ أَخْرَجُوكُمْ ۚ وَالْفِتْنَةُ أَشَدُّ مِنَ الْقَتْلِ ۚ وَلَا تُقَاتِلُوهُمْ عِندَ الْمَسْجِدِ الْحَرَامِ حَتَّىٰ يُقَاتِلُوكُمْ فِيهِ ۖ فَإِن قَاتَلُوكُمْ فَاقْتُلُوهُمْ ۗ كَذَٰلِكَ جَزَاءُ الْكَافِرِينَ ١٩١
Waoqtuloohum haythu thaqiftumoohum waakhrijoohum min haythu akhrajookum waalfitnatu ashaddu mina alqatli wala tuqatiloohum AAinda almasjidi alharami hatta yuqatilookum feehi fain qatalookum faoqtuloohum kathalika jazao alkafireena
And (during war) kill (the aggressing and combating disbelievers) wherever you find them, and drive them out (through military operation by the state) from where they drove you out. And rousing mischief and disruption is a severer (crime) than killing. But do not fight against them in the proximity of the Sacred Mosque (Ka‘ba) unless they themselves fight there against you. Then if they attack you, kill them (in defence), for that is the right penalty of (such aggressing and combating) disbelievers. (2:191)