حَدَّثَنَا أَحْمَدُ بْنُ أَبِي عُبَيْدِ اللَّهِ السُّلَيْمِيُّ الْبَصْرِيُّ، حَدَّثَنَا أَبُو قُتَيْبَةَ، سَلْمُ بْنُ قُتَيْبَةَ عَنْ إِبْرَاهِيمَ بْنِ عَبْدِ الرَّحْمَنِ بْنِ يَزِيدَ بْنِ أُمَيَّةَ، عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، قَالَ كَانَ رَسُولُ اللَّهِ صلى الله عليه وسلم إِذَا وَدَّعَ رَجُلاً أَخَذَ بِيَدِهِ فَلاَ يَدَعُهَا حَتَّى يَكُونَ الرَّجُلُ هُوَ يَدَعُ يَدَ النَّبِيِّ صلى الله عليه وسلم وَيَقُولُ ‏"‏ أَسْتَوْدِعُ اللَّهَ دِينَكَ وَأَمَانَتَكَ وَآخِرَ عَمَلِكَ ‏"‏ ‏.‏ قَالَ هَذَا حَدِيثٌ غَرِيبٌ مِنْ هَذَا الْوَجْهِ ‏.‏ وَرُوِيَ هَذَا الْحَدِيثُ مِنْ غَيْرِ وَجْهٍ عَنِ ابْنِ عُمَرَ ‏.‏

Ibn Umar narrated, saying: “When the Prophet (PBUH) would bid farewell to a man, he would take his hand, and not let it go until the man let go of the hand, of the Prophet, and he would say: ‘I entrust to Allah your religion, your trusts, and the last of your deeds (Astawdi`ullāha dīnaka wa amānataka wa ākhira `amalik).’” Translation Not Available

Book Ref: Jamiya Tirmidhi Book 48 Hadith 3442
Web Ref:  Jamiya Tirmidhi Vol 6 Book 45 Hadith 3442