The Companions of the Messenger of Allah (ﷺ) who accompanied him did not go round the Ka'bah till they threw pebbles at the Jamrah (pillar at Mina).
Sunan Abi Dawud Book 11, Hadith 176