Rabah bin Rabi reported,

We were with the Messenger of Allah ﷺ on a military expedition when he noticed people gathered around something. He sent a man, saying, "Find out why these people have gathered."The man came back and said, "Around a slain woman."The Prophet ﷺ said, "She was not one who would have fought in battle."Khalid bin Walid was leading the vanguard, so the Prophet ﷺ sent a man and said, "Tell Khalid not to kill any woman or hired laborer."

Azami 7903

Hasan

عن رباح بن الربيع قال

كنا مع رسول الله ﷺ في غزوة، فرأى الناس مجتمعين على شيء، فبعث رجلا فقال: انظر على ما اجتمع هؤلاء؟ فجاء فقال على امرأة قتيل فقال: ما كانت هذه لتقاتل قال: وعلى المقدمة خالد بن الوليد فبعث رجلا فقال: قل لخالد: لا يقتلن امرأة ولا عسيفا.

الأعظمي 7903حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Jihad
Chapter
Rulings on jihad and its etiquette
Section
Prohibition of killing children and women in war
Numbering
Jami al-Kamil 7903 (2nd edition)
Azami 7903