Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
muslim:21cAbū Bakr b. Abū Shaybah > Ḥafṣ b. Ghiyāth > al-Aʿmash > Abū Sufyān > Jābir > Abū Ṣāliḥ > Abū Hurayrah

I have been commanded that I should fight against people till they declare that there is no god but Allah, and when they profess it that there is no god but Allah, their blood and riches are guaranteed protection on my behalf except where it is justified by law, and their affairs rest with Allah, and then he (the Holy Prophet) recited (this verse of the Holy Qur'an):" Thou art not over them a warden" (lxxxviii, 22).  

مسلم:٢١cوَحَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ حَدَّثَنَا حَفْصُ بْنُ غِيَاثٍ عَنِ الأَعْمَشِ عَنْ أَبِي سُفْيَانَ عَنْ جَابِرٍ وَعَنْ أَبِي صَالِحٍ عَنْ أَبِي هُرَيْرَةَ قَالاَ

قَالَ رَسُولُ اللَّهِ ﷺ أُمِرْتُ أَنْ أُقَاتِلَ النَّاسَ بِمِثْلِ حَدِيثِ ابْنِ الْمُسَيَّبِ عَنْ أَبِي هُرَيْرَةَ ح وَحَدَّثَنِي أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ حَدَّثَنَا وَكِيعٌ ح وَحَدَّثَنِي مُحَمَّدُ بْنُ الْمُثَنَّى حَدَّثَنَا عَبْدُ الرَّحْمَنِ يَعْنِي ابْنَ مَهْدِيٍّ قَالاَ جَمِيعًا حَدَّثَنَا سُفْيَانُ عَنْ أَبِي الزُّبَيْرِ عَنْ جَابِرٍ قَالَ قَالَ رَسُولُ اللَّهِ ﷺ أُمِرْتُ أَنْ أُقَاتِلَ النَّاسَ حَتَّى يَقُولُوا لاَ إِلَهَ إِلاَّ اللَّهُ فَإِذَا قَالُوا لاَ إِلَهَ إِلاَّ اللَّهُ عَصَمُوا مِنِّي دِمَاءَهُمْ وَأَمْوَالَهُمْ إِلاَّ بِحَقِّهَا وَحِسَابُهُمْ عَلَى اللَّهِ ثُمَّ قَرَأَ { إِنَّمَا أَنْتَ مُذَكِّرٌ * لَسْتَ عَلَيْهِمْ بِمُسَيْطِرٍ}  


See similar narrations below:

Collected by Ibn Ḥibbān, Nasāʾī's Kubrá

ذِكْرُ الْبَيَانِ بِأَنَّ الْإِيمَانَ بِكُلِّ مَا جَاءَ بِهِ الْمُصْطَفَى ﷺ مِنَ الْإِيمَانِ

ibnhibban:174al-Faḍl b. al-Ḥubāb al-Jumaḥī Bi-al-Baṣrah > al-Qaʿnabī > ʿAbd al-ʿAzīz b. Muḥammad > al-ʿAlāʾ b. ʿAbd al-Raḥman from his father > Abū Hurayrah

[Machine] "Narrated by Al-Qa'nabi, who narrated from Abd al-Aziz ibn Muhammad, from Al-Ala ibn Abdul Rahman, from his father, from Abu Hurairah, who said that the Messenger of Allah ﷺ said: 'I have been commanded to fight against people until they testify that there is no god worthy of worship except Allah, and that Muhammad is the Messenger of Allah. And they establish prayer and give zakat. If they do that, their lives and wealth are protected from me, except by the rights of Islam, and their final judgment will be with Allah.'"  

ابن حبّان:١٧٤أَخْبَرَنَا الْفَضْلُ بْنُ الْحُبَابِ الْجُمَحِيُّ بِالْبَصْرَةِ

حَدَّثَنَا الْقَعْنَبِيُّ حَدَّثَنَا عَبْدُ الْعَزِيزِ بْنُ مُحَمَّدٍ عَنِ الْعَلَاءِ بْنِ عَبْدِ الرَّحْمَنِ عَنْ أَبِيهِ عَنْ أَبِي هُرَيْرَةَ قَالَ قَالَ رَسُولُ اللَّهِ ﷺ «أُمِرْتُ أَنْ أُقَاتِلَ النَّاسَ حَتَّى يَقُولُوا لَا إِلَهَ إِلَّا اللَّهُ فَإِذَا شَهِدُوا أَنْ لَا إِلَهَ إِلَّا اللَّهُ وَآمَنُوا بِي وَبِمَا جِئْتُ بِهِ عَصَمُوا مِنِّي دِمَاءَهُمْ وَأَمْوَالَهُمْ إِلَّا بِحَقِّهَا وَحِسَابُهُمْ عَلَى اللَّهِ»  

nasai-kubra:11606ʿAmr b. Manṣūr > Abū Nuʿaym > Sufyān > Abū al-Zubayr > Jābir

“I have been commanded to fight the people until they say: La ilaha illallah. If they say: La ilaha illallah, then their blood and wealth are protected from me, except for a right that is due from it, and their reckoning will be with Allah.” (Using translation from Ibn Mājah 3928)   

الكبرى للنسائي:١١٦٠٦أَخْبَرَنَا عَمْرُو بْنُ مَنْصُورٍ حَدَّثَنَا أَبُو نُعَيْمٍ حَدَّثَنَا سُفْيَانُ عَنْ أَبِي الزُّبَيْرِ عَنْ جَابِرٍ قَالَ

قَالَ رَسُولُ اللهِ ﷺ أُمِرْتُ أَنْ أُقَاتِلَ النَّاسَ حَتَّى يَقُولُوا لَا إِلَهَ إِلَّا اللهُ فَإِذَا قَالُوا لَا إِلَهَ إِلَّا اللهُ عَصَمُوا مِنِّي دِمَاءَهُمْ وَأَمْوَالَهُمْ إِلَّا بِحَقِّهَا وَحِسَابُهُمْ عَلَى اللهِ ثُمَّ تَلَا ﷺ {إِنَّمَا أَنْتَ مُذَكِّرٌ لَسْتَ عَلَيْهِمْ بِمُصَيْطِرٍ} [الغاشية 22]