From Sahih Bukhari (Hadith 1731):
Narrated Ibn `Abbas:When the Prophet (ﷺ) came to Mecca, he ordered his Companions to perform Tawaf round the Ka`ba and between Safa and Marwa, to finish their Ihram and get their hair shaved off or cut short
Reference: Bukhari 1731