Burayda reported,

Whenever the Messenger of Allah ﷺ appointed a commander over an army, he would personally instruct him to fear Allah and to treat the Muslims under his command well. He would say, "Fight in the name of Allah and in the path of Allah. Fight those who disbelieve in Allah. Go forth, but do not steal from the spoils, do not break treaties, do not mutilate the dead, and do not kill children."The hadith contains a longer account.

Tirmidhi 1408

Sahih

حدثنا محمد بن بشار حدثنا عبد الرحمن بن مهدي حدثنا سفيان عن علقمة بن مرثد

عن سليمان بن بريدة عن أبيه قال

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

الترمذي 1408صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Blood money
Chapter
Prohibition of mutilation
Numbering
Darussalam 1408
Tirmidhi 1408