Sure At-Tawba

9:4

إِلَّا ٱلَّذِينَ عَٰهَدتُّم مِّنَ ٱلْمُشْرِكِينَ ثُمَّ لَمْ يَنقُصُوكُمْ شَيْـًۭٔا وَلَمْ يُظَٰهِرُوا۟ عَلَيْكُمْ أَحَدًۭا فَأَتِمُّوٓا۟ إِلَيْهِمْ عَهْدَهُمْ إِلَىٰ مُدَّتِهِمْ ۚ إِنَّ ٱللَّهَ يُحِبُّ ٱلْمُتَّقِينَ

Mit Ausnahme derer von den Götzendienern, mit denen ihr einen Vertrag abgeschlossen habt und die (es) euch (in) nichts haben fehlen lassen und niemandem gegen euch beigestanden haben. So erfüllt ihnen gegenüber ihren Vertrag bis zu der ihnen eingeräumten Frist! Gottesfürchtigen.

Tafsir 9:4

The idolaters who are excluded from the previous ruling are those with whom you entered into a treaty and they honoured the treaty in full. So there will be a complete fulfilment of the treaty with them until the end of the period. Allah loves those who are mindful of Him by obeying His sacred law, which includes fulfilment of treaties, and by avoiding His prohibitions, which include the prohibition of treachery.