Sunan Abi Dawud, Book 15, Hadith 125 (Abu Dawud 2602)

Narrated Abdullah al-Khutami:

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.