It was narrated from Abu Hurairah that the Messenger of Allah (ﷺ) said:
“I have been commanded to fight the people until they say: La ilaha illallah. If they say it, then their blood and wealth are protected from me, except for a right that is due from it, and their reckoning will be with Allah.”