(17) بَابُ: {فَإِنْ تَابُوا وَأَقَامُوا الصَّلاَةَ وَآتَوُا الزَّكَاةَ فَخَلُّوا سَبِيلَهُمْ}
Narrated Ibn 'Umar:
Allah's Messenger (ﷺ) said: "I have been ordered (by Allah) to fight againstthe people until they testify that none has the right to be worshippedbut Allah and that Muhammad is Allah's Messenger (ﷺ), and offer the prayers perfectly and give the obligatory charity, so if they perform that, then they save their lives and property from me except for Islamic lawsand then their reckoning (accounts) will be done by Allah."
Reference: Sahih al-Bukhari 25
In-book reference: Book 2, Hadith 18
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 1, Book 2, Hadith 25
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.