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

Narrated Ibn 'Umar: That a woman was found killed in one of the expeditions of the Messenger of Allah (PBUH), so the Messenger of Allah (PBUH) rebuked that, and he prohibited killing women and children. There are narrations on this topic from Buraidah and Rabah - and they say he was Riyah - bin Ar-Rabi', Al-Aswad bin Sari', Ibn 'Abbas, and As-Sa'b bin Jaththamah. [Abu 'Eisa said:] This Hadith is Hasan Sahih. This is acted upon according to some of the people of knowledge among the Companions of the Prophet (PBUH) and others. They disliked killing women and children. This is the view of Sufyan Ath-Thawri and Ash-Shafi'i. Some of the people of knowledge made an exception for killing the women who had children with them during night attacks, this is the view of Ahmad and Ishaq, they permitted it in night attacks. Translation Not Available

Book Ref: Jamiya Tirmidhi Book 21 Hadith 1569
Web Ref:  Jamiya Tirmidhi Vol 3 Book 19 Hadith 1569