Sahih al-Bukhari 3014
Sahih al-Bukhari · Book 56: Fighting for the Cause of Allah (Jihaad) · Killing the children in the war
Narrated `Abdullah:
حَدَّثَنَا أَحْمَدُ بْنُ يُونُسَ ، أَخْبَرَنَا اللَّيْثُ ، عَنْ نَافِعٍ ، أَنَّ عَبْدَ اللَّهِ ـ رضى الله عنه ـ أَخْبَرَهُ أَنَّ امْرَأَةً وُجِدَتْ فِي بَعْضِ مَغَازِي النَّبِيِّ صلى الله عليه وسلم مَقْتُولَةً، فَأَنْكَرَ رَسُولُ اللَّهِ صلى الله عليه وسلم قَتْلَ النِّسَاءِ وَالصِّبْيَانِ.
During some of the Ghazawat of the Prophet (ﷺ) a woman was found killed. Allah's Messenger (ﷺ) disapproved the killing of women and children.