بَرَاءَةٌ مِّنَ اللَّهِ وَرَسُولِهِ إِلَى الَّذِينَ عَاهَدتُّم مِّنَ الْمُشْرِكِينَ
“[This is a declaration of] disassociation, from Allah and His Messenger, to those with whom you had made a treaty among the polytheists.”
This ayah is part of the opening of Surat al-Tawba, revealed -- as this event's own description states -- within hours of Abu Bakr RA's Hajj delegation departing Madinah, and proclaimed by Ali ibn Abi Talib RA during that Hajj.