Hisnul Muslim 150

When the sick have renounced all hope of life

اللَّهُمَّ اغْفِرْ لِي وَارْحَمْنِي وَأَلْحِقْنِي بِالرَّفِيقِ الأَعْلَى

Allaahum-maghfir lee warhamnee wa 'alhiqnee bir-rafeeqil-'a'laa.

O Allah, forgive me and have mercy upon me and join me with the highest companions (in Paradise).