Yahya related to me from Malik from Ibn Shihab that a son of Kab ibn Malik (Malik believed that ibn Shihab said it was Abd ar-Rahman ibn Kab) said, "The Messenger of Allah ﷺ forbade those who fought ibn Abi Huqayq (a treacherous jew from Madina) to kill women and children. He said that one of the men fighting had said, 'The wife of ibn Abi Huqayq began screaming and I repeatedly raised my sword against her. Then I would remember the prohibition of the Messenger of Allah ﷺ so I would stop. Had it not been for that, we would have been rid of her.' "
أَنَّهُ قَالَ نَهَى رَسُولُ اللَّهِ ﷺ الَّذِينَ قَتَلُوا ابْنَ أَبِي الْحُقَيْقِ عَنْ قَتْلِ النِّسَاءِ وَالْوِلْدَانِ قَالَ فَكَانَ رَجُلٌ مِنْهُمْ يَقُولُ بَرَّحَتْ بِنَا امْرَأَةُ ابْنِ أَبِي الْحُقَيْقِ بِالصِّيَاحِ فَأَرْفَعُ السَّيْفَ عَلَيْهَا ثُمَّ أَذْكُرُ نَهْىَ رَسُولِ اللَّهِ ﷺ فَأَكُفُّ وَلَوْلاَ ذَلِكَ اسْتَرَحْنَا مِنْهَا