‘Abdallah al-Khatmi told that when God’s messenger wanted to commend an army he said, “I entrust to God your religion, what you are responsible for, and your final deeds.”
Ibn ‘Umar told that when the Prophet said farewell to a man he took him by the hand and did not let it go till the man let go the Prophet’s hand, and he would say, “I entrust to God your religion, what you are responsible for, and your last deeds.” A version has “Your final deeds.”*
*The text of the tradition has akhira 'amalika and the version khawatima 'amalika,
Tirmidhi, Abu Dawud and Ibn Majah transmitted it, but in the version of the last two “your last deeds” is not mentioned.
Anas told of a man coming to the Prophet and saying, “Messenger of God, I intend to make a journey, so give me provisions.” He replied, “May God provide you with piety!” He asked for more, so he added, “And forgive your sin.” He said, “Say more, you for whom I would give my father and mother as ransom,” and he added, “And give you abundance of good wherever you are,”
Tirmidhi transmitted it, saying this is a hasan gharib tradition.
‘Ali was brought a beast to ride, and when he put his foot in the stirrup he said, “In the name of God.” Then when he sat on its back he said, “Praise be to God.” He then said, “Glory be to Him who has made this subservient to us, for we had not the strength, and to our Lord do we return.” He then said, “Praise be to God (thrice); God is most great (thrice); Glory be to Thee. I have wronged myself, so forgive me, for only Thou forgivest sins.” He then laughed, and when he was asked what he was laughing at, he replied that he had seen God’s messenger do as he had done and laugh after that. He had asked him what he was laughing at, and he told him that his Lord was pleased with His servant when he asked Him to forgive him his sins, for God says, “He knows that I alone forgive sins.”