Ubaydullah bin Abdullah and Salim bin Abdullah reported,

Whenever Abdullah bin Umar رضي الله عنهم was spoken to during the nights when the army camped against Ibn Zubayr, they would say to him, "It will not harm you to skip the pilgrimage this year, for we fear that you may be prevented from reaching the House."He replied, "We set out with the Messenger of Allah ﷺ, and the disbelievers of Quraysh blocked us from the House. The Prophet ﷺ then sacrificed his offering and shaved his head. I call you to witness that I have made umrah binding upon myself, Allah willing. I will set out, and if I am given clear access to the House, I will perform the circumambulation. But if I am prevented from reaching it, I will do as the Prophet ﷺ did, and I was with him."Then he entered the state of ihram for umrah at Dhul Hulayfa. After traveling for a while, he said, "The matter of the two is one and the same. I call you to witness that I have now made hajj binding upon myself together with my umrah."He did not exit the state of ihram from either of them until he exited it on the Day of Sacrifice, and he offered a sacrificial animal. He used to say that one does not exit ihram until he performs a single circumambulation on the day he enters Mecca.

Bukhari 1807

Sahih

حدثنا عبد الله بن محمد بن أسماء حدثنا جويرية عن نافع أن

عبيد الله بن عبد الله وسالم بن عبد الله أخبراه أنهما

كلما عبد الله بن عمر رضي الله عنهما ليالي نزل الجيش بابن الزبير فقالا لا يضرك أن لا تحج العام وإنا نخاف أن يحال بينك وبين البيت فقال خرجنا مع رسول الله ﷺ فحال كفار قريش دون البيت فنحر النبي ﷺ هديه وحلق رأسه وأشهدكم أني قد أوجبت العمرة إن شاء الله أنطلق فإن خلي بيني وبين البيت طفت وإن حيل بيني وبينه فعلت كما فعل النبي ﷺ وأنا معه فأهل بالعمرة من ذي الحليفة ثم سار ساعة ثم قال إنما شأنهما واحد أشهدكم أني قد أوجبت حجة مع عمرتي فلم يحل منهما حتى حل يوم النحر وأهدى وكان يقول لا يحل حتى يطوف طوافا واحدا يوم يدخل مكة

البخاري 1807صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Confined person
Chapter
If the pilgrim performing umrah is prevented
Numbering
Darussalam 1807
Bukhari 1807