حَدَّثَنَا أَبُو خَيْثَمَةَ ، حَدَّثَنَا جَرِيرٌ ، عَنِ الْأَعْمَشِ ، عَنْ شَقِيقٍ ، عَنْ أُمِّ سَلَمَةَ ، قَالَتْ : قَالَ رَسُولُ اللهِ - صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ - : إِذَا حَضَرْتُمُ الْمَرِيضَ أَوِ الْمَيِّتَ فَقُولُوا خَيْرًا ، فَإِنَّ الْمَلَائِكَةَ يُؤَمِّنُونَ عَلَى مَا تَقُولُونَ . فَلَمَّا تُوُفِّيَ أَبُو سَلَمَةَ أَتَيْتُ النَّبِيَّ - صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ - قُلْتُ : كَيْفَ أَقُولُ ؟ قَالَ : قُولِي : اللَّهُمَّ اغْفِرْ لَنَا وَلَهُ ، وَاعْقُبْنَا مِنْهُ عُقْبَى صَالِحَةً ، فَقُلْتُهَا ، فَأَعْقَبَنِي اللهُ عَزَّ وَجَلَّ مُحَمَّدًا - صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ - .
It is narrated from Sayyidah Umm Salamah (may Allah be pleased with her) that the Messenger of Allah (peace and blessings be upon him) said: "When you are present with a sick person or a dead person, say good things, for the angels say Amin to whatever you say." Sayyidah Umm Salamah (may Allah be pleased with her) said: When Sayyiduna Abu Salamah (may Allah be pleased with him) died, I came to the Prophet (peace and blessings be upon him) and said: "What should I say (now)?" He (peace and blessings be upon him) said: "Say: 'Allahumma ighfir lana wa lahu, wa a'qibna minhu 'uqba salihah' (O Allah, forgive us and him, and grant us a good replacement for him after him)." So I made this supplication, and Allah, the Mighty and Majestic, gave me Sayyiduna Muhammad (peace and blessings be upon him) (as a husband) in his place.