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.
أَنَّ النَّبِيَّ ﷺ رَأَى امْرَأَةً مَقْتُولَةً فِي بَعْضِ الطَّرِيقِ فَنَهَى عَنْ قَتْلِ النِّسَاءِ وَالصِّبْيَانِ