Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:4:91

You will find others who wish to obtain security from you and ˹to˺ obtain security from their people. Every time they are returned to ˹the influence of˺ disbelief, they fall back into it. So if they do not withdraw from you or offer you peace or restrain their hands, then seize them and kill them wherever you overtake them. And those - We have made for you against them a clear authorization.  

You will find others desiring to have security from you, by manifesting belief before you, and security from their own people, through unbelief, when they return to them, and these were ˹the tribes of˺ Asad and Ghatafān; yet whenever they are returned to sedition, ˹whenever˺ they are summoned to idolatry, they are overwhelmed by it, falling into it in the worst of ways. So, if they do not stay away from you, by refraining from fighting you, and, do not, offer you peace, and, do not, restrain their hands, from you, then take them, as captives, and slay them wherever you come upon them, ˹wherever˺ you find them; against them We have given you clear warrant, a clear and manifest proof for you to slay them and capture them, on account of their treachery.
القرآن:٤:٩١

سَتَجِدُونَ آخَرِينَ يُرِيدُونَ أَنْ يَأْمَنُوكُمْ وَيَأْمَنُوا قَوْمَهُمْ كُلَّ مَا رُدُّوا إِلَى الْفِتْنَةِ أُرْكِسُوا فِيهَا ۚ فَإِنْ لَمْ يَعْتَزِلُوكُمْ وَيُلْقُوا إِلَيْكُمُ السَّلَمَ وَيَكُفُّوا أَيْدِيَهُمْ فَخُذُوهُمْ وَاقْتُلُوهُمْ حَيْثُ ثَقِفْتُمُوهُمْ ۚ وَأُولَٰئِكُمْ جَعَلْنَا لَكُمْ عَلَيْهِمْ سُلْطَانًا مُبِينًا  

{ستجدون آخرين يريدون أن يأمنوكم} بإظهار الإيمان عندكم {ويأمنوا قومهم} بالكفر إذا رجعوا إليهم وهم أسد وغطفان {كلما رُدُّوا إلى الفتنة} دعوا إلى الشرك {أركسوا فيها} وقعوا أشد وقوع {فإن لم يعتزلوكم} بترك قتالكم {و} لم {يلقوا إليكم السَّلم و} لم {يكفوا أيديهم} عنكم {فخذوهم} بالأسر {واقتلوهم حيث ثقفتموهم} وجدتموهم {وأولئكم جعلنا لكم عليهم سلطانا مبينا} برهانا بينا ظاهرً على قتلهم وسبيهم لغدرهم.