كتاب المغازى
64  
Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi)
(43)
Chapter: ‘'Umra Al-Qada’
(43)
باب عُمْرَةُ الْقَضَاءِ
Sahih al-Bukhari 4257

Narrated Ibn `Abbas:

The Prophet (ﷺ) hastened in going around the Ka`ba and between the Safa and Marwa in order to show the pagans his strength. Ibn `Abbas added, "When the Prophet (ﷺ) arrived (at Mecca) in the year of peace (following that of Al-Hudaibiya treaty with the pagans of Mecca), he (ordered his companions) to do Ramal in order to show their strength to the pagans and the pagans were watching (the Muslims) from (the hill of) Quaiqan.

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