Ibn 'Abbas (Allah be pleased with him) reported that Allah's Messenger (ﷺ) circumambulated the House on the occasion of the Farewell Pilgrimage on the back of his camel and touched the Corner (of Black Stone) with a stick.
Sahih Muslim Book 15, Hadith 279