(55) باب كَيْفَ كَانَ بَدْءُ الرَّمَلِ
Narrated Ibn `Abbas:
When Allah's Messenger (ﷺ) and his companions came to Mecca, the pagans circulated the news that a group of people were coming to them and they had been weakened by the Fever of Yathrib (Medina). So the Prophet ordered his companions to do Ramal in the first three rounds of Tawaf of the Ka`ba and to walk between the two corners (The Black Stone and Yemenite corner). The Prophet (ﷺ) did not order them to do Ramal in all the rounds of Tawaf out of pity for them.
Reference: Sahih al-Bukhari 1602
In-book reference: Book 25, Hadith 88
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 2, Book 26, Hadith 672