كتاب المغازى
64  
Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi)
(35)
Chapter: The Ghazwa of Al-Hudaibiya
(35)
باب غَزْوَةِ الْحُدَيْبِيَةِ
Sahih al-Bukhari 4183

Narrated Nafi`:

`Abdullah bin `Umar set out for Umra during the period of afflictions, and he said, "If I should be stopped from visiting the Ka`ba, I will do what we did when we were with Allah's Messenger (ﷺ)." He assumed Ihram for `Umra in the year of Al-Hudaibiya.

حَدَّثَنَا قُتَيْبَةُ، عَنْ مَالِكٍ، عَنْ نَافِعٍ، أَنَّ عَبْدَ اللَّهِ بْنَ عُمَرَ ـ رضى الله عنهما ـ خَرَجَ مُعْتَمِرًا فِي الْفِتْنَةِ فَقَالَ إِنْ صُدِدْتُ عَنِ الْبَيْتِ، صَنَعْنَا كَمَا صَنَعْنَا مَعَ رَسُولِ اللَّهِ صلى الله عليه وسلم‏.‏ فَأَهَلَّ بِعُمْرَةٍ مِنْ أَجْلِ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم كَانَ أَهَلَّ بِعُمْرَةٍ عَامَ الْحُدَيْبِيَةِ‏.‏
Reference : Sahih al-Bukhari 4183
In-book reference : Book 64, Hadith 223
USC-MSA web (English) reference : Vol. 5, Book 59, Hadith 497
  (deprecated numbering scheme)