Al-Ilmam bi-Ahadith al-Ahkam 613
وَعَن ابْن عَبَّاس رَضِيَ اللَّهُ عَنْه، قَالَ: " قدم النَّبِي ﷺ وَأَصْحَابه مَكَّة ، وَقد وهنتهم حمى يثرب، قَالَ الْمُشْركُونَ: إِنَّه يقدم عَلَيْكُم غَدا قوم قد وهنتهم الْحمى، ولقوا مِنْهَا شدَّة، فجلسوا مِمَّا يَلِي الحِجْر، فَأَمرهمْ النَّبِي ﷺ أَن يرملوا ثَلَاثَة أَشْوَاط، ويمشوا مَا بَين الرُّكْنَيْنِ ليرَى الْمُشْركُونَ جَلَدهم … الحَدِيث ". أخرجه مُسلم.
From Ibn ʿAbbas, may Allah be pleased with him, who said: "The Prophet ﷺ and his Companions came to Makkah, and the fever of Yathrib had weakened them. The idolaters said: 'Tomorrow a people will come to you whom the fever has weakened, and they have suffered hardship from it.' They sat on the side next to the Hijr. The Prophet ﷺ commanded them to walk briskly for three circuits and to walk normally between the two Corners, so that the idolaters would see their strength…" and the hadith [continues]. Muslim recorded it.