كتاب الجهاد والسير
32  
The Book of Jihad and Expeditions
(8)
Chapter: The prohibition of killing women and children in war
(8)
باب تَحْرِيمِ قَتْلِ النِّسَاءِ وَالصِّبْيَانِ فِي الْحَرْبِ ‏‏
Sahih Muslim 1744 a

It is narrated on the authority of 'Abdullah that a woman was found killed in one of the battles fought by the Messenger of Allah (ﷺ). He disapproved of the killing of women and children.

حَدَّثَنَا يَحْيَى بْنُ يَحْيَى، وَمُحَمَّدُ بْنُ رُمْحٍ، قَالاَ أَخْبَرَنَا اللَّيْثُ، ح وَحَدَّثَنَا قُتَيْبَةُ بْنُ، سَعِيدٍ حَدَّثَنَا لَيْثٌ، عَنْ نَافِعٍ، عَنْ عَبْدِ اللَّهِ، أَنَّ امْرَأَةً، وُجِدَتْ، فِي بَعْضِ مَغَازِي رَسُولِ اللَّهِ صلى الله عليه وسلم مَقْتُولَةً فَأَنْكَرَ رَسُولُ اللَّهِ صلى الله عليه وسلم قَتْلَ النِّسَاءِ وَالصِّبْيَانِ‏.‏
Reference : Sahih Muslim 1744a
In-book reference : Book 32, Hadith 28
USC-MSA web (English) reference : Book 19, Hadith 4319
  (deprecated numbering scheme)
Sahih Muslim 1744 b

It is narrated by Ibn 'Umar that a woman was found killed in one of these battles; so the Messenger of Allah (ﷺ) forbade the killing of women and children.

حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا مُحَمَّدُ بْنُ بِشْرٍ، وَأَبُو أُسَامَةَ قَالاَ حَدَّثَنَا عُبَيْدُ، اللَّهِ بْنُ عُمَرَ عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، قَالَ وُجِدَتِ امْرَأَةٌ مَقْتُولَةً فِي بَعْضِ تِلْكَ الْمَغَازِي فَنَهَى رَسُولُ اللَّهِ صلى الله عليه وسلم عَنْ قَتْلِ النِّسَاءِ وَالصِّبْيَانِ ‏.‏
Reference : Sahih Muslim 1744b
In-book reference : Book 32, Hadith 29
USC-MSA web (English) reference : Book 19, Hadith 4320
  (deprecated numbering scheme)