Saab bin Jathama reported,

The Prophet ﷺ was asked about the children of the polytheists who are raided at night, when their women and children are struck along with them. He replied, "They are part of them."

Muslim 4549

Sahih

و حدثنا يحيى بن يحيى وسعيد بن منصور وعمرو الناقد جميعا عن ابن عيينة قال يحيى أخبرنا سفيان بن عيينة عن الزهري عن عبيد الله عن ابن عباس

عن الصعب بن جثامة قال

سئل النبي ﷺ عن الذراري من المشركين يبيتون فيصيبون من نسائهم وذراريهم فقال هم منهم

مسلم 4549صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Jihad and expeditions
Chapter
Permissibility of killing women and children in night raids without intent
Numbering
Darussalam 4549
Muslim 4549