The Prophet ﷺ, whenever he returned from a journey, would say "Allahu Akbar" three times and then say, "We return, Allah willing, repentant, worshipping, praising our Lord, and prostrating to Him. Allah has fulfilled His promise, granted victory to His servant, and alone defeated the confederates."
حدثنا موسى بن إسماعيل حدثنا جويرية عن نافع
أن النبي ﷺ كان إذا قفل كبر ثلاثا قال آيبون إن شاء الله تائبون عابدون حامدون لربنا ساجدون صدق الله وعده ونصر عبده وهزم الأحزاب وحده