Abdullah bin Umar reported,

Whenever the Messenger of Allah ﷺ returned from a military expedition, a raiding party, a Hajj, or an Umra, and reached the top of a mountain pass or an elevated piece of ground, 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 is capable of all things. We return, repentant, worshipping, prostrating, and praising our Lord. Allah has fulfilled His promise, granted victory to His servant, and defeated the confederates alone."

Muslim 3278

Sahih

حدثنا أبو بكر بن أبي شيبة حدثنا أبو أسامة حدثنا عبيد الله عن نافع عن ابن عمر ح و حدثنا عبيد الله بن سعيد واللفظ له حدثنا يحيى وهو القطان عن عبيد الله عن نافع

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

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

مسلم 3278صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Hajj
Chapter
What to say when returning from a journey for Hajj or otherwise
Numbering
Darussalam 3278
Muslim 3278