It wasnarrated that Ibn 'Umar said:
"When the Messenger of Allah(ﷺ)would dispatch troops, he would say to the leader: 'I commend toAllah's keeping your religious commitment, your dignity and the endofyour deeds.'"
English reference: Vol. 4, Book 24, Hadith 2826
Arabic reference: Book 24, Hadith 2933