Burayda reported,

Whenever the Messenger of Allah ﷺ appointed a commander over a raiding party or an army, he would personally instruct him to fear Allah and to treat the Muslims with him well. He would say:"Fight in the name of Allah and in the path of Allah. Fight those who disbelieve in Allah. 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, take it from them. Then call them to move from their land to the land of the Emigrants, and inform them that if they do so, they will have the same rights and obligations as the Emigrants. If they refuse and choose to remain in their land, inform them that they will be treated like the Bedouin Muslims, the ruling of Allah which applies to the believers will apply to them, but they will have no share in the spoils of war or the booty unless they fight alongside the Muslims.If they refuse, then call them to pay the jizyah. If they accept, take it from them and refrain from fighting them. If they refuse, seek the help of Allah and then fight them."

Ahmad 22978

Sahih

حدثنا وكيع حدثنا سفيان عن علقمة بن مرثد

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

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

أحمد 22978صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Burayda Aslami
Numbering
Darussalam 22978
Ahmad 22978