Abu Hurairah reported,

The Messenger of Allah ﷺ said, "I have been commanded to fight people until they say, 'There is no god but Allah.' Whoever says, 'There is no god but Allah' has protected his life and property from me, except for what is due upon them, and his reckoning rests with Allah."

Azami 7860

Sahih

عن أبي هريرة قال

قال رسول الله ﷺ: أمرت أن أقاتل الناس حتى يقولوا: لا إله إلا الله، فمن قال: لا إله إلا الله فقد عصم مني نفسه وماله إلا بحقه وحسابه على الله.

الأعظمي 7860صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Jihad
Chapter
Rulings on jihad and its etiquette
Section
Command to fight the warring enemies until they say, "There is no god but Allah"
Numbering
Jami al-Kamil 7860 (2nd edition)
Azami 7860