Jabir bin Abdullah reported,

Whenever the Messenger of Allah ﷺ stood upon Safa, he would say "Allahu Akbar" three times and say, "There is no god but Allah alone, with no partner. To Him belongs the dominion, to Him belongs all praise, and He has power over all things." In the narration of Abdul-Rahman, he did this three times and supplicated, and he did the same upon Marwa.

Ahmad 15171

Sahih

قال قرأت على عبد الرحمن: مالك ح وحدثنا إسحاق أخبرنا مالك عن جعفر عن أبيه

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

أن رسول الله ﷺ كان إذا وقف على الصفا يكبر ثلاثا ويقول لا إله إلا الله وحده لا شريك له له الملك وله الحمد وهو على كل شيء قدير وفي حديث عبد الرحمن يصنع ذلك ثلاث مرات ويدعو ويصنع على المروة مثل ذلك

أحمد 15171صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Jabir bin Abdullah
Numbering
Darussalam 15171
Ahmad 15171