إِلَّا الَّذِينَ عَاهَدتُّم مِّنَ الْمُشْرِكِينَ ثُمَّ لَمْ يَنقُصُوكُمْ شَيْئًا وَلَمْ يُظَاهِرُوا عَلَيْكُمْ أَحَدًا فَأَتِمُّوا إِلَيْهِمْ عَهْدَهُمْ إِلَى مُدَّتِهِمْ إِنَّ اللَّهَ يُحِبُّ الْمُتَّقِينَ
(barring the polytheists with whom you have made a treaty, and who did not violate any [of its terms] with you, nor backed anyone against you. So fulfill the treaty with them until [the end of] its term. Indeed Allah loves the Godwary).
Agha Ali Puya Commentary
Commentary on Quran 9:4
[Pooya/Ali Commentary 9:4] Fulfilling all obligations even to non-muslims who had not proved traitors was enjoined as a cardinal principle. The Muslims were commanded to fight against those infidels who violated the pledges and acted treacherously, in order to destroy the power base of evil.