وَفِي حَدِيثِ ابْنِ عُمَرَ رَضِيَ اللَّهُ عَنْهُمَا قَالَ: ثُمَّ رَكَعَ حِينَ قَضَى طَوَافَهُ بِالْبَيْتِ عِنْدَ الْمَقَامِ رَكْعَتَيْنِ ثُمَّ سَلَّمَ فَانْصَرَفَ فَأَتَى الصَّفَا، … الْحَدِيثَ
In the hadith of Sayyiduna Abdullah bin Umar (may Allah be pleased with them both), it is mentioned that after performing Tawaf, the Prophet (peace and blessings be upon him) offered two rak'ahs of prayer near Maqam Ibrahim, then completed the salam and proceeded towards Safa, … .
وَعَنْهُ أَيْضًا أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ رَمَلَ ثَلَاثَةَ أَطْوَافٍ مِنَ الْحَجَرِ إِلَى الْحَجَرِ وَصَلَّى رَكْعَتَيْنِ، ثُمَّ عَادَ إِلَى الْحَجَرِ، ثُمَّ ذَهَبَ إِلَى زَمْزَمَ فَشَرِبَ مِنْهَا وَصَبَّ عَلَى رَأْسِهِ ثُمَّ رَجَعَ فَاسْتَلَمَ الرُّكْنَ ثُمَّ رَجَعَ إِلَى الصَّفَا فَقَالَ: ((أَبْدَأُ بِمَا بَدَأَ اللَّهُ عَزَّ وَجَلَّ بِهِ))
Narrated by Sayyiduna Jabir bin Abdullah (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) performed Tawaf and in the first three circuits, made Raml from Hajar Aswad to Hajar Aswad. After completing the Tawaf, he (peace and blessings be upon him) offered two units of prayer, then he (peace and blessings be upon him) came to Hajar Aswad, then went towards Zamzam, drank its water there and poured it on his head. After that, he (peace and blessings be upon him) again came to Hajar Aswad and performed Istilam, then he (peace and blessings be upon him) went to Safa and said: I begin with that with which Allah Almighty has begun.