Jabir bin Abdullah reported,

The Messenger of Allah ﷺ said, "I have been commanded to fight the people until they say there is no god but Allah. Once they say there is no god but Allah, their blood and wealth are protected from me, except for what is rightfully due, and their reckoning rests with Allah."

Ibn Majah 3928

Sahih

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

عن جابر قال

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

ابن ماجه 3928صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Tribulations
Chapter
Refraining from harming those who say there is no god but Allah
Numbering
Darussalam 3928
Ibn Majah 3928