Ibn 'Umar (May Allah be pleased with them) reported:
The Messenger of Allah (ﷺ) said, "I have been commanded to fight against the people till they testify La ilaha illAllah (There is no true god except Allah) and that Muhammad (ﷺ) is His slave and Messenger, and to establish As-Salat (Iqamat-as-Salat), and to pay Zakat; and if they do this, then their blood and property are secured except by the rights of Islam, and their accountability is left to Allah."[Al- Bukhari and Muslim].
App reference: Book 9, Hadith 86
Arabic/English book reference: Book 9, Hadith 1076