Anas bin Malik reported,

We were returning with the Prophet ﷺ, myself and Abu Talha, with Safiyyah riding behind him on his she-camel. When we reached the outskirts of Medina, he said, "We return, repenting, worshipping our Lord, praising Him." He kept repeating this until we entered Medina.

Azami 11191

Sahih

عن أنس بن مالك قال

أقبلنا مع النبي ﷺ أنا وأبو طلحة وصفية رديفته على ناقته حتى إذا كنا بظهر المدينة قال: آيبون تائبون عابدون لربنا حامدون. فلم يزل يقول ذلك حتى قدمنا المدينة.

الأعظمي 11191صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Supplications, remembrances, and prayer upon the chosen Prophet ﷺ
Chapter
Supplications for riding and travel
Section
What to say when returning from travel
Numbering
Jami al-Kamil 11191 (2nd edition)
Azami 11191