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.
كَانَ النَّبِيُّ ﷺ إِذَا أَرَادَ أَنْ يَسْتَوْدِعَ الْجَيْشَ قَالَ أَسْتَوْدِعُ اللَّهَ دِينَكُمْ وَأَمَانَتَكُمْ وَخَوَاتِيمَ أَعْمَالِكُمْ