(148) باب قَتْلِ النِّسَاءِ فِي الْحَرْبِ
Narrated Ibn `Umar:
During some of the Ghazawat of Allah's Messenger (ﷺ) a woman was found killed, so Allah's Messenger (ﷺ) forbade the killing of women and children.
Reference: Sahih al-Bukhari 3015
In-book reference: Book 56, Hadith 224
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 4, Book 52, Hadith 258