Abdullah bin Umar reported,

The Messenger of Allah ﷺ said, "I have been commanded to fight the people until they testify that there is no god but Allah and that Muhammad is the Messenger of Allah, and until they establish the prayer and pay the zakat. If they do so, their blood and property are protected from me, except for what is due by right, and their reckoning is with Allah."

Azami 12385

Sahih

عن ابن عمر

أن رسول الله ﷺ قال: أمرت أن أقاتل الناس حتى يشهدوا أن لا إله إلا الله، وأن محمدا رسول الله، ويقيموا الصلاة، ويؤتوا الزكاة، فإذا فعلوا ذلك عصموا منى دماءهم وأموالهم إلا بحقها، وحسابهم على الله.

الأعظمي 12385صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Virtues of Surah Baqarah
Section
His saying, "{And fight them until there is no fitnah and the religion is for Allah. But if they cease, then there is no aggression except}"
Numbering
Jami al-Kamil 12385 (2nd edition)
Azami 12385