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 secured his property and his life from me, except by its rightful claim, and his reckoning is with Allah."Allah revealed in His Book, mentioning a people who were arrogant, "Indeed they, when it was said to them, 'There is no god but Allah,' would be arrogant" [Saffat 37:35].

Azami 13163

Hasan

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

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

الأعظمي 13163حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Tafsir of Surah Saffat
Section
His saying, "Indeed they, when it was said to them there is no god but Allah, were arrogant"
Numbering
Jami al-Kamil 13163 (2nd edition)
Azami 13163