Sahih Muslim – Hadith No : 3108

Ibn’Umar (Allah be pleased with them) reported that when Allah’s messenger (may peace be upon him) circumambulated in Hajj and Umra he walked swiftly in the first three circuit about the House, and then walked in four circuits, and then observed two rak’ahs of prayer, and then ran between al-Safa and al-Marwa.

Hadith In Arabic Text :

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

Chapter : The Book of Pilgrimage – كتاب الحج