When he drew near to Safa he recited, "Indeed, Safa and Marwa are among the symbols of Allah" [Baqarah 2:158]. He said, "I begin with what Allah began with." So he began with Safa, climbing it until he could see the House. Then he faced the qibla, declared Allah's oneness and proclaimed His greatness, saying, "There is no god but Allah, alone, He has no partner. His is the dominion and His is the praise, and He has power over all things. There is no god but Allah, alone. He fulfilled His promise, gave victory to His servant, and by Himself routed the confederates."Then he made supplication in between, saying this three times. Then he went down toward Marwa, and when his feet reached the floor of the valley he ran, and when we climbed up he walked, until he came to Marwa. On Marwa he did just as he had done on Safa.
فلما دنا من الصفا قرأ: {إن الصفا والمروة من شعائر الله} [البقرة: ١٥٨]، أبدأ بما بدأ الله به، فبدأ بالصفا فرقي عليه حتى رأى البيت، فاستقبل القبلة، فوحد الله وكبره، وقال: لا إله إلا الله وحده لا شريك له، له الملك وله الحمد وهو على كل شيء قدير، لا إله إلا الله وحده، أنجز وعده، ونصر عبده، وهزم الأحزاب وحده. ثم دعا بين ذلك قال مثل هذا ثلاث مرات، ثم نزل إلى المروة حتى إذا انصبت قدماه في بطن الوادي سعى، حتى إذا صعدنا مشى، حتى أتى المروة ففعل على المروة كما فعل على الصفا.
Muslim narrated it in the Book of Hajj (1218) via Hatim bin Ismail Madani, from Jafar bin Muhammad, from his father, from Jabir, who related the hadith in full concerning the Prophet's ﷺ Hajj.Malik narrated it in the Book of Hajj (127) from Jafar bin Muhammad bin Ali, from his father, from Jabir bin Abdullah, in a shortened form, "The Messenger of Allah ﷺ, when he stood at Safa, would say Allahu Akbar three times, then say, 'There is no god but Allah alone, with no partner. His is the dominion and His is the praise, and He is capable of all things.' He did this three times, supplicating, and he did the same at Marwa."