Abu Hurairah reported,

The Messenger of Allah ﷺ said, "I have been commanded to fight the people until they say, 'There is no god but Allah.' Whoever says, 'There is no god but Allah,' has secured his life and property from me, except for what is due by right, and his reckoning is with Allah."Reported by Umar and Ibn Umar from the Prophet ﷺ.

Bukhari 2946

Sahih

حدثنا أبو اليمان أخبرنا شعيب عن الزهري حدثنا سعيد بن المسيب أن

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

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

البخاري 2946صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Jihad and expeditions
Chapter
Invitation of the Prophet ﷺ to Islam and prophethood, and that none should take others as lords besides Allah
Numbering
Darussalam 2946
Bukhari 2946