Supplication when closing the eyes of someone who has died

Reading settings
اللَّهُمَّ اغْفِرْ لِفُلَانٍ، وَارْفَعْ دَرَجَتَهُ فِي الْمَهْدِيِّينَ، وَاخْلُفْهُ فِي عَقِبِهِ فِي الْغَابِرِينَ، وَاغْفِرْ لَنَا وَلَهُ يَا رَبَّ الْعَالَمِينَ، وَافْسَحْ لَهُ فِي قَبْرِهِ، وَنَوِّرْ لَهُ فِيهِ.
O Allah, forgive [name], raise his rank among those who are rightly guided, and care for the descendants he leaves behind. Forgive us and him, O Lord of all worlds. Make his grave spacious and fill it with light for him.
Explanation & source

تخريج الذكر

دعا النبي ﷺ بهذا لأبي سلمة بعد وفاته؛ ويُسمّى الميت عند الدعاء له.