Burayda reported,

Whenever the Messenger of Allah ﷺ appointed a commander over an army or a raiding party, he would personally instruct him to fear Allah and to treat the Muslims under his command well. Then he would say, "Set out in the name of Allah, in the path of Allah. Fight those who disbelieve in Allah. Go forth, but do not steal from the spoils, do not break your pledges, do not mutilate the dead, and do not kill children.When you meet your enemy from among the polytheists, call them to three options. Whichever of these they accept, accept it from them and refrain from fighting them."He then mentioned them, among which was, "Demand the jizyah from them. If they agree, accept it from them and hold back from them."

Azami 8161

Sahih

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

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

الأعظمي 8161صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Rulings on the people of the covenant
Section
Taking jizya from the people of the covenant
Numbering
Jami al-Kamil 8161 (2nd edition)
Azami 8161