Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:9283[Chain 1] Abū ʿAbdullāh al-Ḥāfiẓ > Abū al-ʿAbbās Muḥammad b. Yaʿqūb > Muḥammad b. Isḥāq al-Ṣaghānī > Shujāʿ b. al-Walīd > Mūsá b. ʿUqbah > [Chain 2] Abū ʿAbdullāh > ʿAlī b. al-Faḍl b. Muḥammad b. ʿAqīl al-Khuzāʿī > Ibrāhīm b. Hāshim al-Baghawī > Muḥammad b. ʿAbbād > Ḥātim b. Ismāʿīl > Mūsá b. ʿUqbah > Nāfiʿ > Ibn ʿUmar

[Machine] The Messenger of Allah ﷺ used to perform three tawafs around the Kaaba first when performing Hajj or Umrah. Then, he would walk four rounds between Safa and Marwa, and then pray two prostrations. This is narrated by Ibn 'Abbad, and in another narration by Shuja'. It did not mention what comes after that.  

البيهقي:٩٢٨٣وَأَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ ثنا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ ثنا مُحَمَّدُ بْنُ إِسْحَاقَ الصَّغَانِيُّ ثنا شُجَاعُ بْنُ الْوَلِيدِ قَالَ سَمِعْتُ مُوسَى بْنَ عُقْبَةَ يُحَدِّثُ ح وَأَخْبَرَنَا أَبُو عَبْدِ اللهِ أَخْبَرَنِي عَلِيُّ بْنُ الْفَضْلِ بْنِ مُحَمَّدِ بْنِ عَقِيلٍ الْخُزَاعِيُّ ثنا إِبْرَاهِيمُ بْنُ هَاشِمٍ الْبَغَوِيُّ ثنا مُحَمَّدُ بْنُ عَبَّادٍ ثنا حَاتِمُ بْنُ إِسْمَاعِيلَ عَنْ مُوسَى بْنِ عُقْبَةَ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ

أَنَّ رَسُولَ اللهِ ﷺ كَانَ إِذَا طَافَ فِي الْحَجِّ وَالْعُمْرَةِ أَوَّلَ مَا يَقْدَمُ فَإِنَّهُ يَسْعَى ثَلَاثَةَ أَطْوَافٍ بِالْبَيْتِ ثُمَّ يَمْشِي أَرْبَعًا ثُمَّ يُصَلِّي سَجْدَتَيْنِ ثُمَّ يَطُوفُ بَيْنَ الصَّفَا وَالْمَرْوَةِ لَفْظُ حَدِيثِ ابْنِ عَبَّادٍ وَفِي رِوَايَةِ شُجَاعٍ أَنَّهُ كَانَ إِذَا طَافَ فِي الْحَجِّ وَالْعُمْرَةِ أَوَّلَ مَا يَقْدَمُ فَإِنَّهُ يَسْعَى ثَلَاثَةَ أَطْوَافٍ بِالْبَيْتِ وَيَمْشِي أَرْبَعًا لَمْ يَذْكُرْ مَا بَعْدَهُ  

رَوَاهُ مُسْلِمٌ فِي الصَّحِيحِ عَنْ مُحَمَّدِ بْنِ عَبَّادٍ وَأَخْرَجَهُ الْبُخَارِيُّ مِنْ حَدِيثِ أَنَسِ بْنِ عِيَاضٍ عَنْ مُوسَى

See similar narrations below:

Collected by Bayhaqī
bayhaqi:9320Abū ʿAbdullāh al-Ḥāfiẓ Fī Ākharīn > Abū al-ʿAbbās Muḥammad b. Yaʿqūb > al-Rabīʿ b. Sulaymān > al-Shāfiʿī > Anas b. ʿIyāḍ > Mūsá b. ʿUqbah > Nāfiʿ > Ibn ʿUmar

[Machine] "Narrated by the Messenger of Allah ﷺ , he used to, when performing the Hajj or Umrah, first walk three circuits around the Kaaba, at a fast pace for four rounds, then he would perform two prostrations of prayer, and then he would walk between Safa and Marwah."  

البيهقي:٩٣٢٠أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ فِي آخَرِينَ قَالُوا ثنا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ أنبأ الرَّبِيعُ بْنُ سُلَيْمَانَ أنبأ الشَّافِعِيُّ أنبأ أَنَسُ بْنُ عِيَاضٍ عَنْ مُوسَى بْنِ عُقْبَةَ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ

عَنْ رَسُولِ اللهِ ﷺ أَنَّهُ كَانَ إِذَا طَافَ فِي الْحَجِّ وَالْعُمْرَةِ أَوَّلَ مَا يَقْدَمُ يَسْعَى ثَلَاثَةَ أَطْوَافٍ بِالْبَيْتِ يَمْشِي أَرْبَعًا ثُمَّ يُصَلِّي سَجْدَتَيْنِ ثُمَّ يَطُوفُ بَيْنَ الصَّفَا وَالْمَرْوَةِ  

رَوَاهُ الْبُخَارِيُّ فِي الصَّحِيحِ عَنْ إِبْرَاهِيمَ بْنِ الْمُنْذِرِ عَنْ أَنَسِ بْنِ عِيَاضٍ وَأَخْرَجَهُ مُسْلِمٌ مِنْ وَجْهٍ آخَرَ عَنْ مُوسَى