إِنَّا لِلَّهِ وَإِنَّا إِلَيْهِ رَاجِعُونَ، اللَّهُمَّ أْجُرْنِي فِي مُصِيبَتِي وَأَخْلِفْ لِي خَيْرًا مِنْهَا
Inna lillahi wa inna ilayhi raji'un. Allahumma ajurni fi musibati wa akhlif li khayran minha
Indeed, to Allah we belong and to Him we shall return. O Allah, reward me for my affliction and replace it with something better.
Umm Salamah (RA) narrated that when her husband Abu Salamah died, she said this du'a — but thought: "Who could be better than Abu Salamah?" Allah replaced him with the Prophet Muhammad ﷺ himself, who married her. She said: "Allah indeed gave me someone better." The du'a works for every loss — health, wealth, relationships. Ask for the reward in the loss and the replacement after it.
Related Du'as
اللَّهُمَّ اشْفِ عَبْدَكَ يَنْكَأُ لَكَ عَدُوًّا أَوْ يَمْشِي لَكَ إِلَى صَلَاةٍ
O Allah, heal Your servant who may then fight for Your cause or walk to prayer for You.
Hasanاللَّهُمَّ اشْفِنِي شِفَاءَكَ وَدَاوِنِي دَوَاءَكَ وَعَافِنِي مِنْ بَلَائِكَ
O Allah, heal me with Your healing, treat me with Your cure, and grant me well-being from Your trial.
Hasanاللَّهُمَّ اشْفِهِ شِفَاءً لَا يُغَادِرُ سَقَمًا
O Allah, heal them with a healing that leaves no illness behind.
Sahihبِسْمِ اللَّهِ أَرْقِيكَ مِنْ كُلِّ شَيْءٍ يُؤْذِيكَ مِنْ شَرِّ كُلِّ نَفْسٍ أَوْ عَيْنِ حَاسِدٍ اللَّهُ يَشْفِيكَ بِسْمِ اللَّهِ أَرْقِيكَ
In the Name of Allah, I perform ruqyah for you, from everything that harms you, from the evil of every soul or envious eye — may Allah heal you. In the Name of Allah, I perform ruqyah for you.
Sahih