Ibn Ḥibbān also recorded it in his Ṣaḥīḥ (2376) with an authentic chain.
E – Nāfiʿ narrates from him that:
“Whenever the Messenger of Allah ﷺ bade a man farewell, he would take the man’s hand and would not release it until the man himself let go of the Prophet’s hand; then he would say”—and he mentioned the supplication.
Al-Tirmidhī transmitted it (2/255, Būlāq ed.) and said, “A gharīb (singular) ḥadīth by this route.”
I say: his judgment means it is weak in this particular chain, because it is related through Ibrāhīm ibn ʿAbd al-Raḥmān ibn Zayd ibn Umayyah from Nāfiʿ, and this Ibrāhīm is unknown. Yet he is not the only transmitter: Ibn Mājah also narrated it (2/943, no. 2826) through Ibn Abī Laylā from him. Ibn Abī Laylā—whose name is Muḥammad ibn ʿAbd al-Raḥmān—is of poor memory, and he did not mention the hand-holding detail.
15 – ʿAbd Allāh al-Khaṭmī reported:
“When the Prophet ﷺ wished to entrust an army, he would say,
‘I entrust Allah with your religion, your trust, and the conclusion of your deeds.’”
(In another wording) ʿAbd Allāh al-Khaṭmī said: When the Prophet ﷺ intended to entrust the army, he said—and he mentioned it.
Abū Dāwūd and Ibn al-Sunnī related it in “Aʿmāl al-Yawm wa’l-Laylah” (no. 498) with a chain that meets Muslim’s criteria, apart from Abū Jaʿfar al-Khaṭmī—whose name is ʿUmayr ibn Yazīd—and he is unanimously reliable.