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.
إِنَّمَا سَعَى النَّبِيُّ ﷺ بِالْبَيْتِ وَبَيْنَ الصَّفَا وَالْمَرْوَةِ لِيُرِيَ الْمُشْرِكِينَ قُوَّتَهُ