It was narrated from Ibn ‘Umar that the Prophet (ﷺ) saw a woman who had been killed on the road, and he forbade killing women and children.
Sunan Ibn Majah Book 24, Hadith 89