The Prophet (ﷺ) arrived at Mecca and performed Tawaf of the Ka`ba and Sa`i between Safa and Marwa, but he did not go near the Ka`ba after his Tawaf till he returned from `Arafat.
Sahih al-Bukhari Book 25, Hadith 109