Abdullah bin Yazid reported,

Whenever the Messenger of Allah ﷺ saw off an army and reached Uqbat al-Wada, he would say, "I entrust to Allah your faith, your trust, and the final outcomes of your deeds."

Azami 11151

Sahih

عن عبد الله بن يزيد الخطمي قال

كان رسول الله ﷺ إذا شيع جيشا فبلغ عقبة الوداع قال: أستودع الله دينكم، وأمانتكم، وخواتم أعمالكم.

الأعظمي 11151صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Supplications, remembrances, and prayer upon the chosen Prophet ﷺ
Chapter
Supplications of jihad
Section
What is said when bidding farewell to armies
Numbering
Jami al-Kamil 11151 (2nd edition)
Azami 11151