Abdullah bin Umar reported,

Whenever the Messenger of Allah ﷺ returned from a pilgrimage or a military expedition and ascended a hill or elevated ground, he would say, "Allah is the Greatest, Allah is the Greatest. There is no god but Allah alone, with no partner. To Him belongs the dominion and to Him belongs all praise, and He has power over all things. We return, repenting, prostrating, worshipping our Lord, and praising Him. Allah has fulfilled His promise, granted victory to His servant, and alone defeated the confederates."

Ahmad 4496

Sahih

حدثنا إسماعيل حدثنا أيوب عن نافع

عن ابن عمر قال

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

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