When a near relatives dies
When one’s own friend or relatives is seen close to death. KALIMAH TAIYYIBAH should be recited before him in a voice which he would hear and when he dies,one should close his eyes and make the prayer given below:
اللَّهُمَّ اغْفِرْ لِ وَارْفَعْ دَرَجَتَهُ فِي الْمَهْدِيِّينَ ، وَاخْلُفْهُ فِي عَقِبِهِ فِي الْغَابِرِينَ ، وَاغْفِرْ لَنَا وَلَهُ يَا رَبَّ الْعَالَمِينَ ، وَافْسَحْ لَهُ فِي قَبْرِهِ وَنَوِّرْ لَهُ فِيهِ
allahumm-aghfir li [mention the person’s name] warfa‛ darajatahu fil-mahdiyyiyna, wakhlufhu fee ‛aqibihi fil-ghaabireena, waghfir lanaa wa lahu yaa rabbal-‛aalameena, wafsaḥ lahu fee qabrihi wa nawwir lahu feeh
O Allah, forgive – [so-and-so] – and raise his rank among the rightly guided, and be a successor to whom he has left behind, and forgive us and him O Lord of the worlds. Make spacious his grave and illuminate it for him.
….Muslim No# 920; Abu Dawud No# 3118….