In the name of Allah, the Gracious, the Merciful
What is the meaning of the following hadith?
أُمِرْتُ أَنْ أُقَاتِلَ النَّاسَ حَتَّى يَشْهَدُوا أَنْ لاَ إِلَهَ إِلاَّ اللَّهُ وَأَنَّ مُحَمَّدًا رَسُولُ اللَّهِ
I have been commanded to fight people until they say there is no God but Allah and Muhammad is the Messenger of Allah…
Source: Ṣaḥīḥ al-Bukhārī 25, Grade: Sahih
This tradition refers to fighting a specific group of idolaters who were waging a war of aggression against the Muslim community. It does not mean Muslims should force people to enter Islam or fight all people in general.
Ibn Taymiyyah commented on this tradition, saying:
مُرَادُهُ قِتَالُ الْمُحَارِبِينَ الَّذِينَ أَذِنَ اللَّهُ فِي قِتَالِهِمْ لَمْ يُرِدْ قِتَالَ الْمُعَاهَدِينَ الَّذِينَ أَمَرَ اللَّهُ بِوَفَاءِ عَهْدِهِمْ
The meaning of this tradition is to fight those who are waging war, whom Allah has called us to fight. It does not mean to fight those who have made peace, with whom Allah has commanded us to fulfill their peace.
Source: Majmū’ al-Fatāwá 19/20
We should bring together all the narrations and verses that mention the context in which the Prophet (ṣ) made this statement and interpret them comprehensively and consistently, rather than taking a single narration out of context. Other narrations make clear that “fighting the people” here refers to the Arab tribes who threatened the new Muslim community in Mecca.
In another narration, the Prophet (ṣ) said:
أُمِرْتُ أَنْ أُقَاتِلَ الْمُشْرِكِينَ
I have been commanded to fight the idolaters…
Source: Sunan Abī Dāwūd 2642, Grade: Sahih
On the basis of this narration, scholars understood that “people” is not general and instead refers to a specific group.
Ibn Hajar commented on this tradition, writing:
فَإِنْ قِيلَ مُقْتَضَى الْحَدِيثِ قِتَالُ كُلِّ مَنِ امْتَنَعَ مِنَ التَّوْحِيدِ فَكَيْفَ تُرِكَ قِتَالُ مُؤَدِّي الْجِزْيَةِ وَالْمُعَاهَدِ فَالْجَوَابُ مِنْ أَوْجُهٍ … أَنْ يَكُونَ مِنَ الْعَامِّ الَّذِي خُصَّ مِنْهُ الْبَعْضُ لِأَنَّ الْمَقْصُودَ مِنَ الْأَمْرِ حُصُولُ الْمَطْلُوبِ
If it is said that the tradition required fighting everyone who rejects monotheism, how do you leave fighting those who pay tribute or enter a peace treaty? The answer is some several angels… that the general statement is specified as it refers to the achievement of an objective.
Source: Fatḥ al-Bārī 1/77
This is like the statement of Allah Almighty:
لَّذِينَ قَالَ لَهُمُ النَّاسُ إِنَّ النَّاسَ قَدْ جَمَعُوا لَكُمْ
Those to whom the people said: Indeed, the people have gathered against you…
Surat Ali ‘Imran 3:173
Al-Suyuti explains this verse, writing:
قَالَ لَهُمُ ٱلنَّاسُ أي نعيم بن مسعود الأشجعي إِنَّ ٱلنَّاسَ أبا سفيان وأصحابه قَدْ جَمَعُواْ لَكُمْ
‘Those to whom the people said,’ meaning Na’im ibn Mas’ud al-Ashja’i, ‘Indeed, the people,’ meaning Abu Sufyan and his companions ‘have gathered against you,’
Source: Tafsīr Jalālayn 3:173
In this verse, the word “the people” is used to refer to two specific groups of people. The hadith uses the term “the people” in a similarly restricted manner, as proven by other evidence.
Furthermore, the hadith does not demand that the idolaters accept Islam on a personal religious level, but rather only to stop fighting against Islam and persecuting Muslims. In a variant of the hadith, the Prophet (ṣ) thereafter recites verses from the Quran that prohibit compulsion in religion.
Jabir reported: The Messenger of Allah, peace and blessings be upon him, said:
أُمِرْتُ أَنْ أُقَاتِلَ النَّاسَ حَتَّى يَقُولُوا لَا إِلَهَ إِلَّا اللَّهُ فَإِذَا قَالُوا لَا إِلَهَ إِلَّا اللَّهُ عَصَمُوا مِنِّي دِمَاءَهُمْ وَأَمْوَالَهُمْ إِلَّا بِحَقِّهَا وَحِسَابُهُمْ عَلَى اللَّهِ
I have been commanded to fight the people until they say there is no God but Allah, so when they say there is no God but Allah then their lives and wealth are protected from me, except by right of justice, and their reckoning is with Allah.
Then, the Prophet (ṣ) recited the verse:
إِنَّمَا أَنْتَ مُذَكِّرٌ لَسْتَ عَلَيْهِمْ بِمُصَيْطِرٍ
Verily, you are only a reminder. You are not over them as a dictator. (88:22)
Source: Ṣaḥīḥ Muslim 21, Grade: Sahih
After declaring the command to fight these specific idolaters, the Prophet (ṣ) recited verses affirming that his duty is only to deliver the message of Islam, which indicates that he was not sanctioning forced conversions.
Ibn Rajab commented on this tradition, saying:
وَالْمَعْنَى إِنَّمَا عَلَيْكَ تَذْكِيرُهُمْ بِاللَّهِ وَدَعْوَتُهُمْ إِلَيْهِ وَلَسْتَ مُسَلَّطًا عَلَى إِدْخَالِ الْإِيمَانِ فِي قُلُوبِهِمْ قَهْرًا وَلَا مُكَلَّفًا بِذَلِكَ
The meaning is that your duty is only to remind them about Allah and to preach to them. You do not have authority to enter faith into their hearts by force and you are not responsible for that.
Source: Jāmi’ al-‘Ulūm wal-Ḥikam 1/236
The Prophet (ṣ) was commanded by Allah to fight the idolaters in order to defend his community from their aggression, but if they stopped waging war against Islam then there was no justification for fighting them.
وَقَاتِلُوهُمْ حَتَّىٰ لَا تَكُونَ فِتْنَةٌ وَيَكُونَ الدِّينُ لِلَّهِ ۖ فَإِنِ انتَهَوْا فَلَا عُدْوَانَ إِلَّا عَلَى الظَّالِمِينَ
Fight them until there is no more persecution and worship is for Allah. But if they cease, then there is to be no aggression except against the oppressors.
Surat al-Baqarah 2:193
And Allah said:
فَإِنِ اعْتَزَلُوكُمْ فَلَمْ يُقَاتِلُوكُمْ وَأَلْقَوْا إِلَيْكُمُ السَّلَمَ فَمَا جَعَلَ اللَّهُ لَكُمْ عَلَيْهِمْ سَبِيلًا
If they remove themselves from you and do not fight you and offer you peace, then Allah has not made for you a cause for fighting against them.
Surat al-Nisa’ 4:90
Hence, “the people” to be fought are only those who persist in aggression and hostility against Islam. On the contrary, Islam requires Muslims to make peace with whoever offers them terms of peace.
وَإِن جَنَحُوا لِلسَّلْمِ فَاجْنَحْ لَهَا وَتَوَكَّلْ عَلَى اللَّهِ ۚ إِنَّهُ هُوَ السَّمِيعُ الْعَلِيمُ
If the enemy inclines to peace, then incline to it also and rely upon Allah. Verily, it is He who is the Hearing, the Knowing.
Surat al-Anfal 8:61
Ali ibn Abi Talib reported: The Messenger of Allah, peace and blessings be upon him, said:
إِنَّهُ سَيَكُونُ بَعْدِي اخْتِلَافٌ أَوْ أَمْرٌ فَإِنْ اسْتَطَعْتَ أَنْ تَكُونَ السِّلْمَ فَافْعَل
Verily, after me there will be conflicts or affairs, so if you are able to end them in peace then do so.
Source: Musnad Aḥmad 697, Grade: Sahih
It was also not necessary for these idolaters to accept Islam in order to make peace with Muslims. If they discontinued their hostilities against the Muslims and sought asylum, then the Muslims were required to grant them protection and safe passage, even if they did not accept Islam on a personal level.
وَإِنْ أَحَدٌ مِّنَ الْمُشْرِكِينَ اسْتَجَارَكَ فَأَجِرْهُ حَتَّىٰ يَسْمَعَ كَلَامَ اللَّهِ ثُمَّ أَبْلِغْهُ مَأْمَنَهُ ۚ ذَٰلِكَ بِأَنَّهُمْ قَوْمٌ لَّا يَعْلَمُونَ
If any one of the idolaters seeks your protection, then grant him protection so that he may hear the words of Allah and then deliver him to his place of safety. That is because they are people who do not know.
Surat al-Tawbah 9:6
For this reason, the scholars maintain that fighting in Islam is to repel aggression and make the world safe to practice Islam. It is not permissible in Islam to fight people simply because they are non-Muslims.
Ibn Taymiyyah writes:
الكفار إنما يقاتلون بشرط الحراب كما ذهب اليه جمهور العلماء وكما دل عليه الكتاب والسنة
The unbelievers are only fought on the condition that they declare war according to the majority of scholars, as is evident in the Book and Sunnah.
Source: al-Nubūwāt 1/140
And Ibn al-Qayyim writes:
وَلَمْ يُكْرِهْ أَحَدًا قَطُّ عَلَى الدِّينِ وَإِنَّمَا كَانَ يُقَاتِلُ مَنْ يُحَارِبُهُ وَيُقَاتِلُهُ وَأَمَّا مَنْ سَالَمَهُ وَهَادَنَهُ فَلَمْ يُقَاتِلْهُ وَلَمْ يُكْرِهْهُ عَلَى الدُّخُولِ فِي دِينِهِ
The Prophet never forced the religion upon anyone, but rather he only fought those who waged war against him and fought him. As for those who made peace with him or conducted a truce, then he never fought them and he never compelled them to enter his religion
Source: Hidāyat al-Ḥayārá 1/237
In sum, the tradition under discussion refers to fighting a particular group of hostile idolaters, who had been persecuting Muslims and waging a war of aggression. It does not mean Muslims are allowed to force anyone into Islam or to fight people just because they have another religion.
Success comes from Allah, and Allah knows best.