Sahih Muslim 1744 b
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا مُحَمَّدُ بْنُ بِشْرٍ، وَأَبُو أُسَامَةَ قَالاَ حَدَّثَنَا عُبَيْدُ، اللَّهِ بْنُ عُمَرَ عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، قَالَ وُجِدَتِ امْرَأَةٌ مَقْتُولَةً فِي بَعْضِ تِلْكَ الْمَغَازِي فَنَهَى رَسُولُ اللَّهِ صلى الله عليه وسلم عَنْ قَتْلِ النِّسَاءِ وَالصِّبْيَانِ .
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.
Full reference and source
Sahih Muslim 1744 b In-book : Book 32, Hadith 29 USC-MSA web (English) : Book 19, Hadith 4320 (deprecated)
View source on Sunnah.com (opens in a new tab)