Saab bin Jathama reported,

The Prophet ﷺ passed by me at al-Abwa, or at Waddan, when he was asked about the people of a household from the polytheists who are attacked by night, and whose women and children are struck along with them. He said, "They are of them."I also heard him say, "There is no protected sanctuary except for Allah and His Messenger ﷺ."

Bukhari 3012

Sahih

حدثنا علي بن عبد الله حدثنا سفيان حدثنا الزهري عن عبيد الله عن ابن عباس

عن الصعب بن جثامة رضي الله عنهم قال

مر بي النبي ﷺ بالأبواء أو بودان وسئل عن أهل الدار يبيتون من المشركين فيصاب من نسائهم وذراريهم قال هم منهم وسمعته يقول لا حمى إلا لله ولرسوله ﷺ

البخاري 3012صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Jihad and expeditions
Chapter
People of a settlement who are attacked at night and their children and offspring are struck
Numbering
Darussalam 3012
Bukhari 3012