The Messenger of Allah ﷺ said, "I have been commanded to fight people until they bear witness that there is no god but Allah and that Muhammad is the Messenger of Allah. When they bear witness that there is no god but Allah and that Muhammad is the Messenger of Allah, face our qiblah, eat what we slaughter, and pray as we pray, then their blood and property become forbidden to us except by right. They have the same rights as the Muslims and the same obligations."
حدثنا علي بن إسحاق والحسن بن يحيى قالا حدثنا عبد الله يعني ابن المبارك قال أخبرنا حميد الطويل
أن رسول الله ﷺ قال أمرت أن أقاتل الناس حتى يشهدوا أن لا إله إلا الله وأن محمدا رسول الله فإذا شهدوا أن لا إله إلا الله وأن محمدا رسول الله واستقبلوا قبلتنا وأكلوا ذبيحتنا وصلوا صلاتنا فقد حرمت علينا دماؤهم وأموالهم إلا بحقها لهم ما للمسلمين وعليهم ما عليهم