Abdullah bin Umar reported,

Whenever the Messenger of Allah ﷺ returned from a military expedition, a raiding party, the Hajj, or an Umrah, upon ascending a high point of land he would say "Allahu Akbar" three times, then 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, repenting, worshipping, prostrating, and praising our Lord. He fulfilled His promise, granted victory to His servant, and defeated the confederates alone."

Ahmad 4960

Sahih

حدثنا عبدة حدثنا عبيد الله عن نافع

عن ابن عمر

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

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