Sahih al-Bukhari, Book 94, Hadith 4 (Bukhari 6955)

Narrated `Aisha:

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."