The Prophet ﷺ arrived in Mecca, performed tawaf, and walked between Safa and Marwa. He did not approach the Kaabah again after his tawaf around it until he returned from Arafah.
قدم النبي ﷺ مكة، فطاف وسعى بين الصفا والمروة، ولم يقرب الكعبة بعد طوافه بها حتى رجع من عرفة.