Sayyidina Ans ibn Malik (RA) reproted that Allah’s Messenger (saw) said, "I am commanded that I should fight people till they testity that there is no God except Allah and that Muhammad is His slave and His Messenger, and turn to our qiblah, eat that which we sughter, offer salah as we do. When they do that then their blood and their properties are unlawful to us except for the right over them. For them is that which is for the Muslims and on them are (all the obligations) that are on the Muslim."
[Bukhari 392 Abu Dawud 2641 Nisai 3972]