Sahih Bukhari – Hadith No : 1642

Narrated Ibn `Umar: When the Prophet performed the Tawaf of the Ka`ba, he did Ramal during the first three rounds and in the last four rounds he used to walk and while doing Tawaf between Safa and Marwa, he used to run in the midst of the rain water passage.

Hadith In Arabic Text :

حدثنا إبراهيم بن المنذر، حدثنا أنس بن عياض، عن عبيد الله، عن نافع، عن ابن عمر رضى الله عنهما أن النبي صلى الله عليه وسلم كان إذا طاف بالبيت الطواف الأول يخب ثلاثة أطواف، ويمشي أربعة، وأنه كان يسعى بطن المسيل إذا طاف بين الصفا والمروة‏.‏

Chapter : Hajj (Pilgrimage) – كتاب الحج