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:9:14

Fight them; Allah will punish them by your hands and will disgrace them and give you victory over them and satisfy the breasts of a believing people  

Fight them, and God will chastise them, He will have them killed, at your hands and degrade them, humiliate them through capture and subjugation, and He will give you victory against them, and He will heal the breasts of a people who believe, ˹removing the harm˺ done to them — these are the Banū Khuzā‘a.
القرآن:٩:١٤

قَاتِلُوهُمْ يُعَذِّبْهُمُ اللَّهُ بِأَيْدِيكُمْ وَيُخْزِهِمْ وَيَنْصُرْكُمْ عَلَيْهِمْ وَيَشْفِ صُدُورَ قَوْمٍ مُؤْمِنِينَ  

{قاتلوهم يعذبهم الله} يقتلهم {بأيديكم ويخزهم} يذلهم بالأسر والقهر {وينصركم عليهم ويشف صدور قوم مؤمنين} بما فُعل بهم هم بنو خزاعة.