From the route of Ibn ^Umar, may Allah accept both of their deeds, that the Messenger of Allah, sallallahu ^alayhi wa sallam, said:
<<I was ordered to fight the people until they say ‘No one is God except Allah and that Muhammad is the Messenger of Allah’, and perform the prayers, and pay Zakat. If they do that then they have preserved their blood and money, except if deemed due by the rules of Islam. Allah will judge them for what is other than that.>>
Narrated by al-Bukhari and Muslim.