Allah took covenants from the children of Adam, the prophets, the Children of Israel, the People of the Book and the believers: these verses speak of them and command keeping one’s pledges, praising those who honour them and blaming those who break them. They also address treaties with enemies: honouring them until their term as long as the other side does, and openly declaring their termination.
Verses gathered from a topical index of the Quran, in Mushaf order; every verse is quoted in full.
If you [have reason to] fear from a people betrayal, throw [their treaty] back to them, [putting you] on equal terms. Indeed, Allāh does not like traitors.