كتاب المغازى
64  
Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi)
(48)
Chapter: Where did the Prophet (saws) fix the flag on the day of the conquest of Makkah?
(48)
باب أَيْنَ رَكَزَ النَّبِيُّ صلى الله عليه وسلم الرَّايَةَ يَوْمَ الْفَتْحِ
Sahih al-Bukhari 4284

Narrated Abu Huraira:

Allah's Messenger (ﷺ) said, "If Allah makes us victorious, our encamping place will be Al-Khaif, the place where the infidels took an oath to be loyal to Heathenism (by boycotting Banu Hashim, the Prophet's folk).

حَدَّثَنَا أَبُو الْيَمَانِ، حَدَّثَنَا شُعَيْبٌ، حَدَّثَنَا أَبُو الزِّنَادِ، عَنْ عَبْدِ الرَّحْمَنِ، عَنْ أَبِي هُرَيْرَةَ، رضى الله عنه قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ مَنْزِلُنَا ـ إِنْ شَاءَ اللَّهُ، إِذَا فَتَحَ اللَّهُ ـ الْخَيْفُ، حَيْثُ تَقَاسَمُوا عَلَى الْكُفْرِ ‏"‏‏.‏
Reference : Sahih al-Bukhari 4284
In-book reference : Book 64, Hadith 317
USC-MSA web (English) reference : Vol. 5, Book 59, Hadith 580
  (deprecated numbering scheme)