Making peace with the disbelievers is permissible, even if it is conditional or for a period that can be at most ten years.
➊ Allah the Exalted says:
وَإِن جَنَحُوا لِلسَّلْمِ فَاجْنَحْ لَهَا [Al-Anfal: 61]
“If they (the disbelievers) incline towards peace, then you too make peace.”
➋ The Covenant of Madinah (the treaty with the Jews) is evidence for this.
[Sirah Ibn Hisham: 2/167 – 172, ‘Uyun al-Athar: 1/197 – 198, Sahifat al-Madinah al-Munawwarah: p. 99]
➌ The Messenger of Allah ﷺ made peace with the Quraysh of Makkah (that is, the Treaty of Hudaybiyyah).
[Muslim: 1784, Kitab al-Jihad wa al-Siyar: Bab Sulh al-Hudaybiyyah fi al-Hudaybiyyah, ‘Abd al-Razzaq: 5/343, Ahmad: 3/268, Sirah Ibn Hisham: 3/439, Fath al-Bari: 11/129]
➊ Anas (may Allah be pleased with him) narrated that at the time of the peace agreement with the Prophet ﷺ, the Quraysh stipulated the condition: “Whoever comes to us from among you, we will not return him, and if any man of ours comes to you, you will return him to us.” They said: “O Messenger of Allah! Shall we write this down?” The Prophet ﷺ said: “Yes! Whoever among us goes to them, Allah has sent him away; and whoever among them comes to us, Allah will surely grant him relief and make a way out for him.”
[Muslim: 1784, Kitab al-Jihad wa al-Siyar: Bab Sulh al-Hudaybiyyah fi al-Hudaybiyyah, Ahmad: 3/268]
➋ A long hadith about the Treaty of Hudaybiyyah is narrated from Miswar ibn Makhramah and Marwan, and in it:
هذا ما صالح عليه محمد بن عبدالله ، سهيل بن عمرو على وضع الحرب عشر سنين
“This is (the document) on which Muhammad ibn ‘Abdullah ﷺ made peace with Suhayl ibn ‘Amr: that war will be suspended for ten years.”
[Bukhari: 2731, 2732, 1694, 1695, Kitab al-Shurut: Bab al-Shurut fi al-Jihad wa al-Musalahah ma’a Ahl al-Harb wa Kitabat al-Shurut, Abu Dawud: 2765]
(Amir al-San’ani, may Allah have mercy on him) This hadith is evidence that making peace with the disbelievers for a fixed period is permissible.
[Subul al-Salam: 4/4 – 18]
❀ Regarding making peace on the condition that if a person from among the disbelievers comes as a Muslim he will be returned, there is disagreement, but the correct view is that it is permissible because of the action of the Prophet ﷺ.
[Al-Rawdah al-Nadiyyah: 2/761]
(The Hanafis) This peace agreement is not valid.
[Nayl al-Awtar: 5/113]
❀ The Messenger of Allah ﷺ did not return the women who came after the agreement, because the peace had been made concerning men, not women, and also because Allah the Exalted revealed the verse:
فَلَا تَرْجِعُوهُنَّ إِلَى الْكُفَّارِ [Al-Mumtahanah: 10]
“Do not return these women to the disbelievers.”
[Bukhari: 2711, 2312, Bayhaqi: 7/170, Sharh al-Sunnah: 5/647, Al-Umm: 5/259, Subul al-Salam: 4/1804, Nayl al-Awtar: 5/118]