Jabir bin Abdullah reported,

Concerning the Prophet's ﷺ pilgrimage, in a long hadith:Then he went out through the gate toward Safa, and when he drew near to Safa he recited, "Indeed Safa and Marwa are among the rites of Allah" [Baqarah 2:158]. "I begin with what Allah began with." So he began with Safa and climbed it until he could see the House. Then he faced the qibla, declared the oneness of Allah, magnified Him, and said, "There is no god but Allah alone, who 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, granted victory to His servant, and by Himself defeated the confederates."Then he made supplication in between, saying this three times. Then he descended toward Marwa, and when his feet reached the bottom of the valley he ran, and when they began to climb again he walked, until he came to Marwa. There he did upon Marwa just as he had done upon Safa. The hadith continues.

Azami 11937

Sahih

عن جابر بن عبد الله قال

في حجة النبي ﷺ في حديث طويل: ثم خرج من الباب إلى الصفا، فلما دنا من الصفا قرأ: {إن الصفا والمروة من شعائر الله} أبدأ بما بدأ الله به فبدأ بالصفا، فرقي عليه حتى رأى البيت فاستقبل القبلة، فوحد الله، وكبره وقال: لا إله إلا الله وحده لا شريك له، له الملك وله الحمد، وهو على كل شيء قدير، لا إله إلا الله وحده أنجز وعده، ونصر عبده وهزم الأحزاب وحده ثم دعا بين ذلك، قال مثل هذا ثلاث مرات، ثم نزل إلى المروة حتى إذا انصبت قدماه في بطن الوادي سعى، حتى إذا صعدنا مشي، حتى أتى المروة، ففعل على المروة كما فعل على الصفا… الحديث.

الأعظمي 11937صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Virtues of Surah Baqarah
Section
His saying, "Indeed Safa and Marwa are among the rites of Allah. So whoever performs pilgrimage to the House or performs umrah, there is no blame upon him for walking between them. And whoever volunteers good, then indeed Allah is Appreciative, Aleem"
Numbering
Jami al-Kamil 11937 (2nd edition)
Azami 11937