Sahih al-Bukhari, Book 27, Hadith 4 (Bukhari 1741)
Narrated Ibn `Abbas:
Allah's Messenger (ﷺ) was prevented from performing (`Umra) Therefore, he shaved his head and had sexual relations with his wives and slaughtered his Hadi and performed Umra in the following year.