An-Nawawy’s Forty Hadiths: (8) Concept of Jihad
On the authority of Abdullah ibn Umar (may Allah be pleased with him), the Messenger of Allah (ﷺ) said, "I have been ordered to fight against the people until they testify that there is none worthy of worship except Allah and that Muhammad is the Messenger of Allah, and until they establish the salah and pay the zakat. And if they do that then they will have gained protection from me for their lives and property, unless [they commit acts that are punishable] in Islam, and their reckoning will be with Allah." [Bukhari & Muslim]