Dua for the sick who has renounced hope of life
اللّهُـمَّ اغْفِـرْ لي وَارْحَمْـني وَأَلْحِقْـني بِالرَّفـيقِ...
اللّهُـمَّ اغْفِـرْ لي وَارْحَمْـني وَأَلْحِقْـني بِالرَّفـيقِ الأعْلـى
Allahummagh-fir lee warhamnee wa-alhiqnee birrafeeqil-aAAla
Translation
O Allah, forgive me, have mercy upon me and unite me with the higher companions.
When to recite
Recited by or for a person nearing death.
Source / Reference
Al-Bukhari 7/10, Muslim 4/1893