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. Once they say it, they have protected their lives and property from me, except for what is rightfully due, and their reckoning is with Allah."

Nasai 3982

Sahih

أخبرنا إسحق بن إبراهيم قال أنبأنا يعلى بن عبيد عن الأعمش عن أبي سفيان عن جابر وعن أبي صالح

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

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

النسائي 3982صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Prohibition of bloodshed
Chapter
Prohibition of bloodshed
Numbering
Darussalam 3982
Nasai 3982