A woman was found killed in one of the military expeditions of the Messenger of Allah ﷺ. The Messenger of Allah ﷺ condemned this and forbade the killing of women and children.
حدثنا قتيبة حدثنا الليث عن نافع
أن امرأة وجدت في بعض مغازي رسول الله ﷺ مقتولة فأنكر رسول الله ﷺ ذلك ونهى عن قتل النساء والصبيان
Graded muttafaq alayh. Bukhari narrated it in "Jihad and Expeditions," chapter "Killing children in war," hadith no. 3014, and Muslim, hadith no. 1744, from the hadith of Layth bin Saad, with the same wording.On the same topic there are narrations from Burayda [coming at 1617, Ahmad 3/, and previously mentioned at 1408], Rabah [Abu Dawud, hadith no. 2669, and Ibn Majah, hadith no. 2842], Aswad bin Sarii [4/24, 435, and Darimi, hadith no. 2466], Ibn Abbas [Muslim, hadith no. 1812], and Saab bin Jathama [coming at 1570].