Sahih al-Bukhari — Fighting for the Cause of Allah (Jihaad) — Hadith No: 3012
Translation
Narrated As-Sab bin Jaththama:The Prophet (ﷺ) passed by me at a place called Al-Abwa or Waddan, and was asked whether it was permissible to attack the pagan warriors at night with the probability of exposing their women and children to danger. The Prophet (ﷺ) replied, "They (i.e. women and children) are from them (i.e. pagans)." I also heard the Prophet (ﷺ) saying, "The institution of Hima is invalid except for Allah and His Apostle