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.
حَدَّثَنِي مُحَمَّدٌ، عَنْ سُفْيَانَ بْنِ عُيَيْنَةَ، عَنْ عَمْرٍو، عَنْ عَطَاءٍ، عَنِ ابْنِ عَبَّاسٍ ـ رضى الله عنهما ـ قَالَ إِنَّمَا سَعَى النَّبِيُّ صلى الله عليه وسلم بِالْبَيْتِ وَبَيْنَ الصَّفَا وَالْمَرْوَةِ لِيُرِيَ الْمُشْرِكِينَ قُوَّتَهُ.
Sahih al-Bukhari, 4257
Sahih al-Bukhari, Vol. 5, Book of Military Expeditions led by the Prophet ﷺ (Maghaazi), Hadith 558
Sahih al-Bukhari, Book of Military Expeditions led by the Prophet ﷺ (Maghaazi), Hadith 558