Surah At-Tawbah, ayah 7

9:7

كَيۡفَ يَكُونُ لِلۡمُشۡرِكِينَ عَهۡدٌ عِندَ ٱللَّهِ وَعِندَ رَسُولِهِۦٓ إِلَّا ٱلَّذِينَ عَٰهَدتُّمۡ عِندَ ٱلۡمَسۡجِدِ ٱلۡحَرَامِۖ فَمَا ٱسۡتَقَٰمُواْ لَكُمۡ فَٱسۡتَقِيمُواْ لَهُمۡۚ إِنَّ ٱللَّهَ يُحِبُّ ٱلۡمُتَّقِينَ ٧

Kayfa yakūnu lil-mushrikīna 'ahdun 'indallāhi wa'inda rasūlihī illal-ladhīna 'āhattum 'indal-masjidil-harāmi famastaqāmū lakum fastaqīmū lahum innallāha yuhibbul-muttaqīn

How can there be for the polytheists a treaty in the sight of Allāh and with His Messenger, except for those with whom you made a treaty at al-Masjid al-Ḥarām? So as long as they are upright toward you,465 be upright toward them. Indeed, Allāh loves the righteous [who fear Him].

Footnotes

465 i.e., maintain the terms of the treaty.