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."
حدثنا أبو بكر بن أبي شيبة حدثنا أبو أسامة حدثنا عبيد الله عن نافع عن ابن عمر ح و حدثنا عبيد الله بن سعيد واللفظ له حدثنا يحيى وهو القطان عن عبيد الله عن نافع
كان رسول الله ﷺ إذا قفل من الجيوش أو السرايا أو الحج أو العمرة إذا أوفى على ثنية أو فدفد كبر ثلاثا ثم قال لا إله إلا الله وحده لا شريك له له الملك وله الحمد وهو على كل شيء قدير آيبون تائبون عابدون ساجدون لربنا حامدون صدق الله وعده ونصر عبده وهزم الأحزاب وحده