Ibn Umar set out for Hajj the year Hajjaj besieged Ibn Zubayr. It was said to him, "There is going to be fighting among them, and I fear they will prevent you from reaching the House."He replied, "You have in the Messenger of Allah an excellent example. I will do as the Messenger of Allah ﷺ did. I call you to witness that I have made Umra obligatory upon myself."Then he set out, and when he reached the open ground of Bayda, he said, "The matter of Hajj and Umra is but one. I call you to witness that I have made Hajj obligatory upon myself together with my Umra."He brought along a sacrificial animal which he had purchased at Qudayd, then proceeded reciting the talbiyah for both together until he arrived in Mecca. He performed tawaf around the House and saay between Safa and Marwa, and did nothing more than that. He did not slaughter, shave, or shorten his hair, nor did he release himself from any of the restrictions of ihram, until the Day of Sacrifice came. Then he slaughtered and shaved, considering that his initial tawaf had served for both the Hajj and the Umra.Ibn Umar said, "This is what the Messenger of Allah ﷺ did."
أخبرنا قتيبة قال حدثنا الليث
أن ابن عمر أراد الحج عام نزل الحجاج بابن الزبير فقيل له إنه كائن بينهم قتال وأنا أخاف أن يصدوك قال لقد كان لكم في رسول الله أسوة حسنة إذا أصنع كما صنع رسول الله ﷺ إني أشهدكم أني قد أوجبت عمرة ثم خرج حتى إذا كان بظاهر البيداء قال ما شأن الحج والعمرة إلا واحد أشهدكم أني قد أوجبت حجا مع عمرتي وأهدى هديا اشتراه بقديد ثم انطلق يهل بهما جميعا حتى قدم مكة فطاف بالبيت وبالصفا والمروة ولم يزد على ذلك ولم ينحر ولم يحلق ولم يقصر ولم يحل من شيء حرم منه حتى كان يوم النحر فنحر وحلق فرأى أن قد قضى طواف الحج والعمرة بطوافه الأول وقال ابن عمر كذلك فعل رسول الله ﷺ
Bukhari narrated it in Hajj, chapter on the tawaf of one who combines hajj and umrah, hadith no. 1640, and Muslim in Hajj, chapter explaining etc., hadith no. 1230/182, from Qutayba with the same wording. It is also in Kubra, chapter on the permissibility of exiting ihram due to being blocked and the permissibility of combining hajj and umrah, hadith no. 3727.