Messenger of Allah, we raid the homes of the polytheists at night, and their children and women are among them, so we end up killing them.The Prophet ﷺ replied, "They are part of them."
حدثنا عبد الله حدثنا الحكم بن موسى قال حدثنا مسلم بن خالد عن الزهري عن عبيد الله بن عبد الله بن عتبة بن مسعود عن ابن عباس
يا رسول الله نغشى الدار أو الديار من المشركين ليلا معهم صبيانهم ونساؤهم فنقتلهم قال النبي ﷺ هم منهم
No references are available.
Its isnad is sahih. It was mentioned previously at 16622, and it is among the additional narrations.