In the month Dhul-Qa’dah or in Dhul-Hijjah of the the ninth year of Al-Hijra. Allâh’s Messenger ﷺ the sent Abu Bakr Radiallahu anhoo as the deputy of Al-Hajj, to lead the Muslims in the pilgrimage rituals,
Soon after the departure of the Muslims, there came a Revelation from Allâh: the opening passages of Chapter 9 entitled “Repentance (Surat Taubah or Bara’ah) in which ‘freedom from obligation’ is proclaimed from Allâh in regard to those idolatrous tribes who had shown no respect for the treaties which they had entered into with the Prophetﷺ Communication of this news went in line with the Arabian traditions of making public any change relating to declining conventions of blood and fortunes
Hazrat Ali bin Abi Talib Radiallahu anhoo in was deputed to make this declaration. He caught up with Abu Bakr Radiallahu anhoo at Al-‘Arj or Dajnan. Abu Bakr Radiallahu anhoo inquired whether the Prophet had put him in command or he had just been sent to make the announcement. “I have been deputed to make the proclamation only,” replied ‘Hazrat Ali AlaihisSalam. The two Companions then proceeded with the pilgrimage process. Towards the close of the rituals, on the day of the ritual sacrifice. ‘Hazrat Ali Karamulla wajehul kareem stood at Al-Jamrah (a spot at which stones are pelted) and read aloud to the people that gathered around him and declared quittance from covenants with idolaters, and giving them four months’ respite to reconsider their position. As for the other idolaters with whom the believers had a treaty, and they had negated nothing of the Muslims’ rights nor had supported anyone against them, then the terms of the treaty would run valid until its expiration.
Abu Bakr Radiallahu anhoo then sent some Muslims to declare publicly that no disbeliever would after that year perform pilgrimage, nor would anyone be allowed to make the Tawaf (going round) of the Sacred House unclothed.
That proclamation in fact prohibited all aspects of paganism out of Arabia and stated quite clearly that those pre-Islam practices were no longer in operation.”