At-Tawbah 9:4
إِلَّا ٱلَّذِينَ عَـٰهَدتُّم مِّنَ ٱلْمُشْرِكِينَ ثُمَّ لَمْ يَنقُصُوكُمْ شَيْـًٔا وَلَمْ يُظَـٰهِرُوا۟ عَلَيْكُمْ أَحَدًا فَأَتِمُّوٓا۟ إِلَيْهِمْ عَهْدَهُمْ إِلَىٰ مُدَّتِهِمْ ۚ إِنَّ ٱللَّهَ يُحِبُّ ٱلْمُتَّقِينَ
Illa allatheena AAahadtummina almushrikeena thumma lam yanqusookum shay-an walam yuthahirooAAalaykum ahadan faatimmoo ilayhim AAahdahum ilamuddatihim inna Allaha yuhibbu almuttaqeen
Excepted are those with whom you made a treaty among the polytheists and then they have not been deficient toward you in anything or supported anyone against you; so complete for them their treaty until their term [has ended]. Indeed, Allāh loves the righteous [who fear Him].
Except those of the Mushriks with whom you have a treaty, and they were not deficient (in fulfilling the treaty) with you, and did not back up any one against you. So fulfill the treaty with them up to their term. Surely, Allah loves the God-fearing.