Surah At-Tawba

9:1

بَرَآءَةٌۭ مِّنَ ٱللَّهِ وَرَسُولِهِۦٓ إِلَى ٱلَّذِينَ عَٰهَدتُّم مِّنَ ٱلْمُشْرِكِينَ

[This is a declaration of] disassociation, from Allah and His Messenger, to those with whom you had made a treaty among the polytheists.

Tafsir 9:1

This is a declaration of dissociation from Allah and His Messenger and an announcement of the termination of the treaties that you, O Muslims, had made with the idolaters.