Umm Salama bint Abu Umaya reported,

I heard the Messenger of Allah ﷺ say, "There is no Muslim who is struck by a calamity and then says what Allah has commanded him to say, 'Indeed, to Allah we belong and to Him we shall return' [Baqarah 2:156], 'O Allah, reward me for my calamity and replace it for me with something better,' except that Allah will replace it for him with something better."She said, "When Abu Salama died, I said to myself, 'Which of the Muslims is better than Abu Salama? His was the first household to emigrate to the Messenger of Allah ﷺ.' Then I said the words, and Allah replaced him for me with the Messenger of Allah ﷺ."She said, "The Messenger of Allah ﷺ sent Hatib bin Abu Balta to me to propose marriage on his behalf. I said, 'I have a daughter, and I am a jealous woman.'"He replied, "As for her daughter, we will pray to Allah to make her independent of her, and I will pray to Allah to remove the jealousy."

Muslim 2126

Sahih

حدثنا يحيى بن أيوب وقتيبة وابن حجر جميعا عن إسمعيل بن جعفر قال ابن أيوب حدثنا إسمعيل أخبرني سعد بن سعيد عن عمر بن كثير بن أفلح عن ابن سفينة

عن أم سلمة أنها قالت

سمعت رسول الله ﷺ يقول ما من مسلم تصيبه مصيبة فيقول ما أمره الله {إنا لله وإنا إليه راجعون} اللهم أجرني في مصيبتي وأخلف لي خيرا منها إلا أخلف الله له خيرا منها قالت فلما مات أبو سلمة قلت أي المسلمين خير من أبي سلمة أول بيت هاجر إلى رسول الله ﷺ ثم إني قلتها فأخلف الله لي رسول الله ﷺ قالت أرسل إلي رسول الله ﷺ حاطب بن أبي بلتعة يخطبني له فقلت إن لي بنتا وأنا غيور فقال أما ابنتها فندعو الله أن يغنيها عنها وأدعو الله أن يذهب بالغيرة

مسلم 2126صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Funerals
Chapter
What is said upon affliction
Numbering
Darussalam 2126
Muslim 2126