Allah's Messenger (ﷺ) said, "If I had formerly known what I came to know recently, I would not have driven the Hadi with me and would have finished the state of Ihram along with the people when they finished it."
Sahih al-Bukhari Book 94, Hadith 4