The Prophet (ﷺ) did Ramal in (first) three rounds (of Tawaf), and walked in the remaining four, in Hajj and Umra.
Sahih al-Bukhari Book 25, Hadith 90