Abdullah bin Umar reported,

Whenever the Messenger of Allah ﷺ returned from a military expedition, a Hajj, or an Umra, he would say "Allahu Akbar" three times upon reaching every elevated point of land, then he would 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. We return repentant, worshipping our Lord and praising Him. Allah has fulfilled His promise, granted victory to His servant, and defeated the confederates alone."

Bukhari 6385

Sahih

حدثنا إسماعيل قال حدثني مالك عن نافع

عن عبد الله بن عمر رضي الله عنهما

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

البخاري 6385صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Supplications
Chapter
Supplication when intending to travel or returning
Numbering
Darussalam 6385
Bukhari 6385