Climbing Safa and Marwah and making supplications for one’s material and spiritual well being and welfare is encouraged. During the supplications one should face Ka’bah.
It is well known that the Prophet (peace be upon him) went through the Safa gate, and on approaching Safa he recited the Qur’anic verse 2.158 “Verily, Safa and Marwah are among the symbols of Allah” and then saying “I begin with what Allah Himself began” he climbed Safa until he could see the Ka’bah from where he stood. He faced the Ka’bah, thrice proclaimed Allah’s Oneness, glorified Him, praised Him, and then said, “There is no deity worthy of worship except Allah. He has no partners. To Him belongs the kingdom and all praise. He alone grants life and causes death, He has power over all things.
There is no God but He. He has fulfilled His promise, given victory to His servant, and He alone defeated the confederates.” Thrice he made similar supplications. Then he walked toward Marwah and climbed it, until he could see the Ka’bah. There he made supplications as he had at Safa.
Nafi’ has reported that he saw Abdullah bin ‘Umar standing on Safa and supplicating in these words: “O Allah! You have said ‘Call Me and I shall respond to your call.’ Verily, You do not break Your promise. O Allah! I pray that just as You guided me to Islam, so divest me not of it until the day you cause me to die.”