Surah At-Tawba · سُوْرَةُ التَّوْبَةِ · Juz 10
Q 9:7
كَيْفَ يَكُونُ لِلْمُشْرِكِينَ عَهْدٌ عِندَ ٱللَّهِ وَعِندَ رَسُولِهِۦٓ إِلَّا ٱلَّذِينَ عَـٰهَدتُّمْ عِندَ ٱلْمَسْجِدِ ٱلْحَرَامِ ۖ فَمَا ٱسْتَقَـٰمُوا۟ لَكُمْ فَٱسْتَقِيمُوا۟ لَهُمْ ۚ إِنَّ ٱللَّهَ يُحِبُّ ٱلْمُتَّقِينَ
Translations
How can there be for the polytheists a treaty in the sight of Allah and with His Messenger, except for those with whom you made a treaty at al-Masjid al-Haram? So as long as they are upright toward you, be upright toward them. Indeed, Allah loves the righteous [who fear Him].Comment y aurait-il pour les associateurs un pacte admis par Allah et par Son messager? A l'exception de ceux avec lesquels vous avez conclu un pacte près de la Mosquée sacrée. Tant qu'ils sont droits envers vous, soyez droits envers eux. Car Allah aime les pieux.Tafsir
It is not correct for those who associate partners with Allah to have a treaty and an assurance of protection from Allah and His Messenger, except for the treaty you made with those idolaters at the Sacred Mosque in the Treaty of Al-Ḥudaybiyyah. As long as they uphold the treaty with you and do not break it, then you should also not break it. Allah loves those of His servants who are mindful of Him by fulfilling His instructions and avoiding His prohibitions.
Read Ibn Kathir (Ibn Kathir (abridged, English))
Arabic text: Tanzil (Uthmani). Translations: Sahih International (en), Muhammad Hamidullah (fr). tanzil.net