It was narrated from Umm Salamah that Abu Salamah told her that he heard the Messenger of Allah (ﷺ) say:
“There is no Muslim who is stricken with a calamity and reacts by saying as Allah has commanded: ‘Inna lillahi, wa inna ilayhi raji’un. Allahumma indakah-tasabtu musibati, fajurni iha, wa ‘awwidni minha (Truly, to Allah we belong and truly, to Him we shall return. O Allah, with You I seek reward for my calamity, so reward me for it and compensate me),’ but Allah will reward him for that and compensate him with something better than it.” She said: “When Abu Salamah died, I remembered what he had told me from the Messenger of Allah (ﷺ) and I said: ‘Inna lillahi, wa inna ilayhi raji’un. Allahumma indakah-tasabtu musibati, fajurni ihaiha (Truly, to Allah we belong and truly, to Him we shall return. O Allah, with You I seek reward for my calamity, so reward me for it).’ But when I wanted to say wa ‘awwidni minha (and compensate me with better), I said to myself: ‘How can I be compensated with something better than Abu Salamah?’ Then I said it, and Allah compensated me with Muhammad (ﷺ) and rewarded me for my calamity.”