Dua When death is eminent

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

"O Allah, forgive me and have mercy on me and let me reach the Companion on high".