Sayyiduna Abu Sa'id al-Khudri (may Allah be pleased with him) narrates: The Prophet (peace and blessings be upon him) forbade the killing of women and children, and he said: "These two will go to whoever prevails."
Al-Tabarani recorded it in al-Mu'jam al-Awsat. Its chain contains Atiyyah al-Awfi, and he is da'if (weak).
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الجهاد / 9617