حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا وَكِيعٌ، عَنْ سُفْيَانَ، عَنْ أَبِي الزِّنَادِ، عَنِ الْمُرَقَّعِ بْنِ عَبْدِ اللَّهِ بْنِ صَيْفِيٍّ، عَنْ حَنْظَلَةَ الْكَاتِبِ، قَالَ غَزَوْنَا مَعَ رَسُولِ اللَّهِ صلى الله عليه وسلم فَمَرَرْنَا عَلَى امْرَأَةٍ مَقْتُولَةٍ قَدِ اجْتَمَعَ عَلَيْهَا النَّاسُ فَأَفْرَجُوا لَهُ فَقَالَ ‏(‏مَا كَانَتْ هَذِهِ تُقَاتِلُ فِيمَنْ يُقَاتِلُ‏)‏ ‏.‏ ثُمَّ قَالَ لِرَجُلٍ ‏(‏انْطَلِقْ إِلَى خَالِدِ بْنِ الْوَلِيدِ فَقُلْ لَهُ إِنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم يَأْمُرُكَ يَقُولُ لاَ تَقْتُلَنَّ ذُرِّيَّةً وَلاَ عَسِيفًا‏)‏‏.‏

It wasnarrated that Hanzalah Al-Katib said: “We went out to fightalongside the Messenger of Allah (PBUH), and we passed by a slainwomanwhom the people had gathered around. They parted (to let theProphet(PBUH) through) and he said: ‘This (woman) was not one ofthose whowere fighting.’ Then he said to a man: ‘Go to Khalidbin Walid andtell him that the Messenger of Allah (PBUH) commandsyou: “Do not killany women or any (farm) laborer.’” Translation Not Available

Book Ref: Sunan Ibn Majah Book 24 Hadith 2842
Web Ref:  Sunan Ibn Majah Vol 4 Book 24 Hadith 2842