Whenever the Messenger of Allah ﷺ appointed a commander over an army or expedition, he would personally instruct him to fear Allah and to treat the Muslims with him well. Then he would say, "Fight in the name of Allah and in the path of Allah. Fight those who disbelieve in Allah. Fight, but do not embezzle the spoils, do not break your pledge, do not mutilate the dead, and do not kill a child.When you meet your enemy from among the polytheists, call them to one of three options. Whichever of them they accept, accept it from them and refrain from fighting them.Call them to Islam. If they accept, accept it from them and refrain from fighting them. Then call them to move from their land to the land of the Muhajirun, and tell them that if they do so, they will have the same rights and obligations as the Muhajirun. If they refuse to move from their land, tell them that they will be like the bedouin Muslims, subject to the same rulings of Allah that apply to the Muslims, but they will have no share in the war spoils or fay unless they fight alongside the Muslims.If they refuse, then ask them for the jizyah. If they agree, accept it from them and refrain from fighting them. If they refuse, then seek Allah's help and fight them.When you besiege the people of a fortress and they want you to grant them the protection of Allah and the protection of His Prophet, do not grant them the protection of Allah or the protection of His Prophet. Instead, grant them your own protection, the protection of your father, and the protection of your companions, for if you violate your own protection and that of your fathers, it is less serious than violating the protection of Allah and His Messenger.When you besiege the people of a fortress and they want you to let them surrender according to Allah's judgment, do not let them surrender according to Allah's judgment. Instead, let them surrender according to your own judgment, for you do not know whether you will hit upon Allah's judgment regarding them or not."Abdul-Rahman said this, or something close to it.
حدثنا عبد الرحمن حدثنا سفيان عن علقمة بن مرثد
كان رسول الله ﷺ إذا أمر أميرا على جيش أو سرية أوصاه في خاصته بتقوى الله ومن معه من المسلمين خيرا ثم قال اغزوا بسم الله في سبيل الله قاتلوا من كفر بالله اغزوا ولا تغلوا ولا تغدروا ولا تمثلوا ولا تقتلوا وليدا وإذا لقيت عدوك من المشركين فادعهم إلى إحدى ثلاث خصال أو خلال فأيتهن ما أجابوك إليها فاقبل منهم وكف عنهم ثم ادعهم إلى التحول من دارهم إلى دار المهاجرين وأخبرهم إن هم فعلوا أن لهم ما للمهاجرين وعليهم ما على المهاجرين وإن هم أبوا أن يتحولوا منها فأخبرهم أنهم يكونون كأعراب المسلمين يجري عليهم حكم الله الذي يجري على المسلمين ولا يكون لهم في الغنيمة والفيء شيء إلا أن يجاهدوا مع المسلمين فإن هم أبوا فسلهم الجزية فإن هم أجابوك فاقبل منهم وكف عنهم وإن هم أبوا فاستعن بالله وقاتلهم وإذا حاصرت أهل حصن فأرادوك أن تجعل لهم ذمة الله وذمة نبيك فلا تجعل لهم ذمة الله ولا ذمة نبيه ولكن اجعل لهم ذمتك وذمة أبيك وذمم أصحابك فإنكم إن تخفروا ذممكم وذمم آبائكم أهون من أن تخفروا ذمة الله وذمة رسوله وإن حاصرت أهل حصن فأرادوك أن تنزلهم على حكم الله فلا تنزلهم على حكم الله ولكن أنزلهم على حكمك فإنك لا تدري أتصيب حكم الله فيهم أم لا قال عبد الرحمن هذا أو نحوه