BAYHAQI 9276:
from Ibn ʿAbbās —
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. (Using translation from Bukhārī 4257)
البيهقي ٩٢٧٦:
عن ابن عباس —
إِنَّمَا سَعَى رَسُولُ اللهِ ﷺ بِالْبَيْتِ وَبَيْنَ الصَّفَا وَالْمَرْوَةِ؛ لِيُرِيَ الْمُشْرِكِينَ قُوَّتَهُ
hadithunlocked.com