Ibn ‘Umar said: “When the Messenger of Allah صلی اللہ علیہ وآلہ وسلم arrived in Makkah he circumambulated the House seven times, then he prayed two Rak’ahs behind the Maqam. Then, he went out to As-Safa through the gate that is usually used to exit, and performed Sa‘between As-S afaand Al (One of the narrators Shu’bah said: Ayub informed me from ‘Amr bin Dinar from Ibn ‘Umar that he said:
“A Sunnah”. (Sahih)