The Messenger of Allah (ﷺ): When you attend dying man, you should say good words, for the angels say Amin to what you say. When Abu Salamah died, I said: What should I say, Messenger of Allah? He said: O Allah forgive him, and give us something good in exchange. She said: So Allah gave me Muhammad (ﷺ) in exchange for him.
Is one of you unable to be like Abu Damdam? The people asked: who is Abu Damdam? He replied : A man of old before you. He then mentioned the rest of tradition to the tradition to the same effect. This version has : who would say (in the morning) : My honors is for the one who reviles me. Abu Dawud said: This tradition has also been transmitted by Hashim bin al-Qasim from Muhammad b. ‘Adb Allah al-‘Ammi from Thabit on the authority of Anas from Prophet (ﷺ) to the same effect. Abu Dawud said: The tradition of Hammad (i.e. ‘Abd al-Rahman’s version) is sounder.