When Messenger of Allah ﷺ and his companions arrived (at Mecca), the pagans said, "There have come to you a group of people who have been weakened by the fever of Yathrib (i.e. Medina)." So the Prophet ﷺ ordered his companions to do Ramal (i.e. fast walking) in the first three rounds of Tawaf around the Kaʿba and to walk in between the two corners (i.e. the black stone and the Yemenite corner). The only cause which prevented the Prophet ﷺ from ordering them to do Ramal in all the rounds of Tawaf, was that he pitied them.
قَدِمَ رَسُولُ اللَّهِ ﷺ وَأَصْحَابُهُ فَقَالَ الْمُشْرِكُونَ إِنَّهُ يَقْدَمُ عَلَيْكُمْ وَفْدٌ وَهَنَهُمْ حُمَّى يَثْرِبَ وَأَمَرَهُمُ النَّبِيُّ ﷺ أَنْ يَرْمُلُوا الأَشْوَاطَ الثَّلاَثَةَ وَأَنْ يَمْشُوا مَا بَيْنَ الرُّكْنَيْنِ وَلَمْ يَمْنَعْهُ أَنْ يَأْمُرَهُمْ أَنْ يَرْمُلُوا الأَشْوَاطَ كُلَّهَا إِلاَّ الإِبْقَاءُ عَلَيْهِمْ وَزَادَ ابْنُ سَلَمَةَ عَنْ أَيُّوبَ عَنْ سَعِيدِ بْنِ جُبَيْرٍ عَنِ ابْنِ عَبَّاسٍ قَالَ لَمَّا قَدِمَ النَّبِيُّ ﷺ لِعَامِهِ الَّذِي اسْتَأْمَنَ قَالَ ارْمُلُوا لِيَرَى الْمُشْرِكُونَ قُوَّتَهُمْ وَالْمُشْرِكُونَ مِنْ قِبَلِ قُعَيْقِعَانَ