Sayyiduna Ibn Umar (may Allah be pleased with them both) narrates: the Messenger of Allah (peace and blessings be upon him) arrived (in Makkah) and performed tawaf of the House, seven circuits, prayed two rak'ahs behind the Station of Ibrahim, and went seven times between al-Safa and al-Marwah. And indeed you have in the Messenger of Allah (peace and blessings be upon him) an excellent example.
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 13573