308. Consolation to the relatives of the deceased
إِنَّ لِلَّهِ مَا أَخَذَ وَلَهُ مَا أَعْطَى وَكُلٌّ عِنْدَهُ بِأَجَلٍ مُسَمًّى
Inna lillaahi maa 'akhadha, wa lahu maa 'a'taa, wa kullun 'indahu bi'ajalin musamma
Whatever Allah takes is His, and whatever He gives is His, and everything with Him has a limited fixed term (in this world).
Narrated by Usama bin Zaid (RA): We were with the Prophet (ﷺ) when suddenly there came to him a messenger from one of his daughters who was asking him to come and see her son who was dying. The Prophet (ﷺ) said (to the messenger), (The dua is Mentioned above). So order her to be patient and hope for Allah's reward.
Related Duas:
Dua for visiting graves #4
When placing the dead in the grave #1
Dua for Consolation
Dua for visiting graves #1
When placing the dead in the grave #2
Blessings after burying the dead person
Blessings at the child's funeral #3
Throwing soil after burial
Funeral prayers #4
Dua for closing the eyes of the dead body
Funeral prayers #2.3 (Male)
Funeral prayers #3.4 (Female)