Volume 4 · Book 52 · Hadith 258
Narrated Ibn 'Umar: During some of the Ghazawat of Allah's Apostle a woman was found killed, so Allah's Apostle forbade the killing of women and children.
— Sahih Bukhari, Volume 4, Book 52: Fighting for the Cause of Allah (Jihaad), Hadith #258