Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) narrates that a woman was found killed in one of the campaigns, so the Messenger of Allah (peace and blessings be upon him) forbade the killing of women and children.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب السير / 18088