Translation for 9:7

كَيۡفَ يَكُونُ لِلۡمُشۡرِكِينَ عَهۡدٌ عِندَ ٱللَّهِ وَعِندَ رَسُولِهِۦٓ إِلَّا ٱلَّذِينَ عَٰهَدتُّمۡ عِندَ ٱلۡمَسۡجِدِ ٱلۡحَرَامِۖ فَمَا ٱسۡتَقَٰمُواْ لَكُمۡ فَٱسۡتَقِيمُواْ لَهُمۡۚ إِنَّ ٱللَّهَ يُحِبُّ ٱلۡمُتَّقِينَ ٧
How can such polytheists have a treaty with Allah and His Messenger, except those you have made a treaty with at the Sacred Mosque?1 So, as long as they are true to you, be true to them. Indeed Allah loves those who are mindful ˹of Him˺.

Foot notes

76705

 This is known as the Treaty of Ḥudaibiyah, which was signed by the Prophet (ﷺ) and the pagans of Mecca in 6 A.H./628 C.E., diffusing the tension between Muslims and the Meccans and affirming a 10-year peace truce. The treaty was violated by the Meccans in 8 A.H/630 C.E.