[Machine] On the authority of Umm Salamah, the wife of the Prophet ﷺ, she said: I heard the Messenger of Allah ﷺ say, "Whenever a servant is afflicted with a calamity and he says, 'Verily, to Allah we belong and to Him we shall return. O Allah, reward me for my affliction and replace it for me with something better,' then Allah ﷻ rewards him for his affliction and replaces it for him with something better." Umm Salamah said, "When Abu Salamah passed away, I said, 'Who is better than Abu Salamah, the companion of the Messenger of Allah ﷺ?' Then Allah ﷻ made me firm in saying it, so I said, 'O Allah, reward me in my affliction and replace it for me with something better.' After that, I married the Messenger of Allah ﷺ."
عَنْ أُمِّ سَلَمَةَ زَوْجِ النَّبِيِّ ﷺ قَالَتْ سَمِعْتُ رَسُولَ اللهِ ﷺ يَقُولُ مَا مِنْ عَبْدٍ تُصِيبُهُ مُصِيبَةٌ فَيَقُولُ إِنَّا لِلَّهِ وَإِنَّا إِلَيْهِ رَاجِعُونَ اللهُمَّ أْجُرْنِي فِي مُصِيبَتِي وَأخْلِفْ لِي خَيْرًا مِنْهَا إِلَّا أَجَرَهُ اللهُ فِي مُصِيبَتِهِ وَخَلَفَ لَهُ خَيْرًا مِنْهَا قَالَتْ فَلَمَّا تُوُفِّيَ أَبُو سَلَمَةَ قُلْتُ مَنْ خَيْرٌ مِنْ أَبِي سَلَمَةَ صَاحِبِ رَسُولِ اللهِ ﷺ قَالَتْ ثُمَّ عَزَمَ اللهُ ﷻ لِي فَقُلْتُهَا اللهُمَّ أْجُرْنِيفِي مُصِيبَتِي وَأخْلِفْ لِي خَيْرًا مِنْهَا قَالَتْ فَتَزَوَّجْتُ رَسُولَ اللهِ ﷺ