[Machine] I heard Ibn Umar say, "When the Messenger of Allah ﷺ arrived in Makkah, he performed seven circuits around the Ka'bah, then he prayed two Rak'ahs behind the Maqam Ibrahim. After that, he went out to Safa from the gate that leads to it, and then he performed the Sa'i between Safa and Marwah." Ghundar added in his narration, Shu'bah said, "Ayyub informed me on the authority of Amr ibn Dinar, on the authority of Ibn Umar, that it is a Sunnah."
سَمِعْتُ ابْنَ عُمَرَ يَقُولُ «لَمَّا قَدِمَ رَسُولُ اللهِ ﷺ مَكَّةَ طَافَ بِالْبَيْتِ سَبْعًا وَصَلَّى خَلْفَ الْمَقَامِ رَكْعَتَيْنِ ثُمَّ خَرَجَ إِلَى الصَّفَا مِنَ الْبَابِ الَّذِي يَخْرُجُ إِلَيْهِ فَطَافَ بِالصَّفَا وَالْمَرْوَةِ» زَادَ غُنْدَرٌ فِي حَدِيثِهِ قَالَ شُعْبَةُ فَأَخْبَرَنِي أَيُّوبُ عَنْ عَمْرِو بْنِ دِينَارٍ عَنِ ابْنِ عُمَرَ أَنَّهُ سُنَّةٌ