Abdullah bin Umar reported,

The Messenger of Allah ﷺ, whenever he returned from a military expedition, Hajj, or Umra, would say "Allahu Akbar" three times upon every elevated point of land, then he would say, "There is no god but Allah alone, with no partner. To Him belongs the dominion and to Him belongs all praise, and He is capable of all things. We are returning, repenting, worshipping, prostrating to our Lord, and praising Him. Allah has fulfilled His promise, granted victory to His servant, and defeated the confederates alone."

Azami 11190

Sahih

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

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

الأعظمي 11190صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Supplications, remembrances, and prayer upon the chosen Prophet ﷺ
Chapter
Supplications for riding and travel
Section
What to say when returning from travel
Numbering
Jami al-Kamil 11190 (2nd edition)
Azami 11190