Sahih Bukhari
Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi)
Volume: 005 / Book Number: 059 / Hadith Number: 498
Narrated Nafi:
Ibn 'Umar assumed Ihram and said, "If something should intervene between me and the Ka'ba, then I will do what the Prophet did when the Quraish infidels intervened between him and (the Ka'ba). Then Ibn 'Umar recited: "You have indeed in Allah's Apostle A good example to follow." (33.21)