Sura Al-Anfaal

8:58

وَإِمَّا تَخَافَنَّ مِن قَوْمٍ خِيَانَةًۭ فَٱنۢبِذْ إِلَيْهِمْ عَلَىٰ سَوَآءٍ ۚ إِنَّ ٱللَّهَ لَا يُحِبُّ ٱلْخَآئِنِينَ

Men om du misstänker svek hos dem [som du har slutit fördrag med], säg då upp fördraget så att [läget blir klart och] ni är jämställda. Gud är sannerligen inte de svekfullas vän!

Tafsir 8:58

If you, O Messenger, become afraid, due to a sign that becomes obvious to you, that a people with whom you entered into a treaty will betray you and break the treaty, then inform them that the treaty is cancelled, so that they are not unjustly disadvantaged. Do not attack them suddenly without informing them, because doing so will be treachery on your part and Allah does not love those who are treacherous. Instead, He detests such people, so be careful of treachery.