Ibn 'Umar (May Allah be pleased with them) reported:
The Messenger of Allah (ﷺ) said, "I have been commanded to fight people till they testify 'La ilaha illallah' (there is no true god except Allah) that Muhammad (ﷺ) is his slave and Messenger, and they establish Salat, and pay Zakat; and if they do this, their blood (life) and property are secured except when justified by law, and it is for Allah to call them to account."[Al-Bukhari and Muslim].
App reference: Book 9, Hadith 219
Arabic/English book reference: Book 9, Hadith 1209