Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tabarani:20120al-Ḥusayn b. Isḥāq > Yaḥyá al-Ḥimmānī > Sharīk > al-Aʿmash > Abū Wāʾil > Um Salamah

[Machine] The Messenger of Allah ﷺ said, "If any of you is afflicted with a calamity, let him say, 'O Allah, reward me for my affliction and compensate me with something better than it.' When Abu Salamah died, I said, 'Who will replace me after Abu Salamah?' She said, 'Allah will replace you with someone better than him, the Messenger of Allah ﷺ .'  

الطبراني:٢٠١٢٠حَدَّثَنَا الْحُسَيْنُ بْنُ إِسْحَاقَ ثنا يَحْيَى الْحِمَّانِيُّ ثنا شَرِيكٌ عَنِ الْأَعْمَشِ عَنْ أَبِي وَائِلٍ عَنْ أُمِّ سَلَمَةَ قَالَتْ

قَالَ رَسُولُ اللهِ ﷺ إِذَا أُصِيبَ أَحَدُكُمْ بِمُصِيبَةٍ فَلْيَقُلْ اللهُمَّ أْجُرْنِي فِي مُصِيبَتِي وَأَعْقِبْنِي خَيْرًا بِهَا فَلَمَّا مَاتَ أَبُو سَلَمَةَ فَقُلْتُ مَنْ يَعْقُبُنِي اللهُ بَعْدَ أَبِي سَلَمَةَ قَالَتْ فَأَعْقَبَنِي اللهُ خَيْرًا مِنْهُ مُحَمَّدًا رَسُولَ اللهِ ﷺ  


See similar narrations below:

Collected by Mālik, Ibn Ḥibbān
malik:16-43Mālik > Rabīʿah b. Abū ʿAbd al-Raḥman > Um Salamah Zawj al-Nabī ﷺ

Yahya related to me from Malik from Rabia ibn Abi Abd ar-Rahman from Umm Salama, the wife of the Prophet may Allah bless him and grant him peace, that the Messenger of Allah ﷺ said, "If a misfortune befalls some one and he says, as Allah has ordered, 'We belong to Allah and to Him we are returning. O Allah, reward me in my misfortune and give me better than it afterwards,' Allah will do that for him" (Inna lillahi wa inna ilayhi rajiun. Allahumma' jurniy fi musiybatiy, wa a qibhiy khayran minha, illa faala 'llahu dhalika bihi.). Umm Salama said, "When Abu Salama died I said that, and then I said, 'Who is better than Abu Salama?' " And then Allah left her the Messenger of Allah ﷺ and he married her.  

مالك:١٦-٤٣وَحَدَّثَنِي عَنْ مَالِكٍ عَنْ رَبِيعَةَ بْنِ أَبِي عَبْدِ الرَّحْمَنِ عَنْ أُمِّ سَلَمَةَ زَوْجِ النَّبِيِّ ﷺ أَنَّ

رَسُولَ اللَّهِ ﷺ قَالَ مَنْ أَصَابَتْهُ مُصِيبَةٌ فَقَالَ كَمَا أَمَرَ اللَّهُ إِنَّا لِلَّهِ وَإِنَّا إِلَيْهِ رَاجِعُونَ اللَّهُمَّ أْجُرْنِي فِي مُصِيبَتِي وَأَعْقِبْنِي خَيْرًا مِنْهَا إِلَّا فَعَلَ اللَّهُ ذَلِكَ بِهِ قَالَتْ أُمُّ سَلَمَةَ فَلَمَّا تُوُفِّيَ أَبُو سَلَمَةَ قُلْتُ ذَلِكَ ثُمَّ قُلْتُ وَمَنْ خَيْرٌ مِنْ أَبِي سَلَمَةَ فَأَعْقَبَهَا اللَّهُ رَسُولَهُ ﷺ فَتَزَوَّجَهَا  

ذِكْرُ الْأَمْرِ لِمَنْ حَضَرَ الْمَيِّتَ بِسُؤَالِ اللَّهِ جَلَّ وَعَلَا الْمَغْفِرَةَ لِمَنْ حَضَرَتْهُ الْمَنِيَّةُ

ibnhibban:3005al-Faḍl b. al-Ḥubāb > Muḥammad b. Kathīr al-ʿAbdī > Sufyān al-Thawrī > al-Aʿmash > Abū Wāʾil > Um 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. (Using translation from Abū Dāʾūd 3115)  

ابن حبّان:٣٠٠٥أَخْبَرَنَا الْفَضْلُ بْنُ الْحُبَابِ قَالَ حَدَّثَنَا مُحَمَّدُ بْنُ كَثِيرٍ الْعَبْدِيُّ قَالَ أَخْبَرَنَا سُفْيَانُ الثَّوْرِيُّ عَنِ الْأَعْمَشِ عَنْ أَبِي وَائِلٍ عَنْ أُمِّ سَلَمَةَ قَالَتْ

قَالَ رَسُولُ اللَّهِ ﷺ «إِذَا حَضَرْتُمُ الْمَيِّتَ فَقُولُوا خَيْرًا فَإِنَّ الْمَلَائِكَةَ تُؤَمِّنُ عَلَى مَا تَقُولُونَ» قَالَتْ فَلَمَّا مَاتَ أَبُو سَلَمَةَ قُلْتُ يَا رَسُولَ اللَّهِ مَا أَقُولُ؟ قَالَ «قُولِي اللَّهُمَّ اغْفِرْ لَهُ وَأَعْقِبْنَا عُقْبَى صَالِحَةً» قَالَتْ فَأَعْقَبَنِي اللَّهُ مُحَمَّدًا ﷺ