When the Prophet (ﷺ) wanted to say farewell to an army, he would say: I entrust to Allah your religion, what you are responsible for, and your final deeds.
Sunan Abi Dawud Book 15, Hadith 125