(19) باب مَا يُسْتَحَبُّ أَنْ يُقَالَ عِنْدَ الْمَيِّتِ مِنَ الْكَلاَمِ
Narrated Umm Salamah:
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.
Reference: Sunan Abi Dawud 3115
In-book reference: Book 21, Hadith 27
English translation: Book 20, Hadith 3109