“We went out to fight alongside the Messenger of Allah ﷺ, and we passed by a slain woman whom the people had gathered around. They parted (to let the Prophet ﷺ through) and he said: ‘This (woman) was not one of those who were fighting.’ Then he said to a man: ‘Go to Khalid bin Walid and tell him that the Messenger of Allah ﷺ commands you: “Do not kill any children or women, or any (farm) laborer.’” Another chain reports a similar hadith.
غَزَوْنَا مَعَ رَسُولِ اللَّهِ ﷺ فَمَرَرْنَا عَلَى امْرَأَةٍ مَقْتُولَةٍ قَدِ اجْتَمَعَ عَلَيْهَا النَّاسُ فَأَفْرَجُوا لَهُ فَقَالَ (مَا كَانَتْ هَذِهِ تُقَاتِلُ فِيمَنْ يُقَاتِلُ) ثُمَّ قَالَ لِرَجُلٍ (انْطَلِقْ إِلَى خَالِدِ بْنِ الْوَلِيدِ فَقُلْ لَهُ إِنَّ رَسُولَ اللَّهِ ﷺ يَأْمُرُكَ يَقُولُ لاَ تَقْتُلَنَّ ذُرِّيَّةً وَلاَ عَسِيفًا) حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ حَدَّثَنَا قُتَيْبَةُ حَدَّثَنَا الْمُغِيرَةُ بْنُ عَبْدِ الرَّحْمَنِ عَنْ أَبِي الزِّنَادِ عَنِ الْمُرَقَّعِ عَنْ جَدِّهِ رَبَاحِ بْنِ الرَّبِيعِ عَنِ النَّبِيِّ ﷺ نَحْوَهُ قَالَ أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ يُخْطِئُ الثَّوْرِيُّ فِيهِ