in the month dhul-qa‘dah or in dhul-hijjah of the very year (the ninth of al-hijra), the messenger of allâh [pbuh] dispatched abu bakr [r], the truthful, as a deputy prince of al-hajj (pilgrimage), so that he would lead the muslims in performing of the pilgrimage rituals.
soon after the departure of the muslims, there came a revelation from allâh: the opening passages of the chapter 9 entitled ‘repentance’ (surah tauba or bara’a) 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 [pbuh]. communication of this news went in line with the arabian traditions of making public any change relating to declining conventions of blood and fortunes.
‘ali bin abi talib was deputed to make this declaration. he overtook abu bakr at al-‘arj or dajnan. abu bakr inquired whether the prophet [pbuh] had put him in command or he had just been commissioned to make the announcement. "i have been deputed to make the proclamation only" replied ‘ali. the two companions then proceeded with the pilgrimage process. towards the close of the rituals, on the day of the ritual sacrifice, ‘ali stood at al-jamrah (a spot at which stones are pelted) and read aloud to the multitudes that thronged 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 had abated nothing of the muslims’ rights nor had supported anyone against them, then the terms of the treaty would run valid until the duration of which expired.
abu bakr 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 vetoed all aspects of paganism out of arabia and stated quite unequivocally that those pre-islam practices were no longer in operation.[sahih al-bukhari 1/220, 415, 2/626,671; za'd al-ma'ad 3/25,26; ibn hisham 2/543-546]