Al Sab bin Jaththamah said that he asked the Messenger of Allah ﷺ about the polytheists whose settlemnst were attacked at night when some of their offspring and women were smitten. The Prophet ﷺ “They are of them. Amr bin Dinar used to say “they are regarded in the same way as their parents. ” Al-Zuhri said: Thereafter the Messenger of Allah ﷺ prohibited to kill women and children.