Hanzala reported,

We went out on an expedition with the Messenger of Allah ﷺ and passed by a woman who had been killed, with people gathered around her. They made way for him, and he said, "This one was not among those who fight."Then he said to one of the men, "Go to Khalid bin Walid and tell him that the Messenger of Allah ﷺ commands him, 'Do not kill any child or any hired laborer.'"Abu Bakr bin Abu Shayba narrated to us, Qutayba narrated to us, Mughira bin Abdul-Rahman narrated to us, from Abu Zinad, from Murraqqa, from his grandfather Rabah bin Rabi, from the Prophet ﷺ, a similar report.Abu Bakr bin Abu Shayba said, "Thawri makes an error in it."

Ibn Majah 2842

Sahih

حدثنا أبو بكر بن أبي شيبة حدثنا وكيع عن سفيان عن أبي الزناد عن المرقع بن عبد الله بن صيفي

عن حنظلة الكاتب قال

غزونا مع رسول الله ﷺ فمررنا على امرأة مقتولة قد اجتمع عليها الناس فأفرجوا له فقال ما كانت هذه تقاتل فيمن يقاتل ثم قال لرجل انطلق إلى خالد بن الوليد فقل له إن رسول الله ﷺ يأمرك يقول لا تقتلن ذرية ولا عسيفا حدثنا أبو بكر بن أبي شيبة حدثنا قتيبة حدثنا المغيرة بن عبد الرحمن عن أبي الزناد عن المرقع عن جده رباح بن الربيع عن النبي ﷺ نحوه قال أبو بكر بن أبي شيبة يخطئ الثوري فيه

ابن ماجه 2842صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Jihad
Chapter
Raids, night attacks, and killing women and children
Numbering
Darussalam 2842
Ibn Majah 2842