Abu Dawud Book 8, Hadith Number 2595.
Chapter : Not known.
Narated By Abdullah al-Khutami : When the Prophet (PBUH) 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.