Sahih al-Bukhari, Hadith 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.

حَدَّثَنِي مُحَمَّدٌ، عَنْ سُفْيَانَ بْنِ عُيَيْنَةَ، عَنْ عَمْرٍو، عَنْ عَطَاءٍ، عَنِ ابْنِ عَبَّاسٍ ـ رضى الله عنهما ـ قَالَ إِنَّمَا سَعَى النَّبِيُّ صلى الله عليه وسلم بِالْبَيْتِ وَبَيْنَ الصَّفَا وَالْمَرْوَةِ لِيُرِيَ الْمُشْرِكِينَ قُوَّتَهُ‏.‏

sunnah.com