‘Abd Allaah bin (mas’ud) said “A woman was found slain in one of the battles of the Apostle of Allaah ﷺ. The Apostle of Allaah ﷺ forbade to kill women and children. (Using translation from Abū Dāʾūd 2668)
وُجِدَ فِي بَعْضِ مَغَازِي رَسُولِ اللَّهِ ﷺ امْرَأَةٌ مَقْتُولَةٌ «فَنَهَى رَسُولُ اللَّهِ ﷺ عَنْ قَتْلِ النِّسَاءِ وَالصِّبْيَانِ»