Umm Salama bint Abu Umaya reported,

The Messenger of Allah ﷺ came in upon Abu Salama after his eyes had become fixed in death, so he closed them. Some of his family began to wail, and he said, "Do not invoke anything upon yourselves except good, for the angels say amen to whatever you say."Then he prayed, "O Allah, forgive Abu Salama, raise his rank among the rightly guided, take his place among those he leaves behind, and forgive us and him, Lord of all the worlds. O Allah, make his grave spacious for him and fill it with light."

Abu Dawud 3118

Sahih

حدثنا عبد الملك بن حبيب أبو مروان حدثنا أبو إسحق يعني الفزاري عن خالد الحذاء عن أبي قلابة عن قبيصة بن ذؤيب

عن أم سلمة قالت

دخل رسول الله ﷺ على أبي سلمة وقد شق بصره فأغمضه فصيح ناس من أهله فقال لا تدعوا على أنفسكم إلا بخير فإن الملائكة يؤمنون على ما تقولون ثم قال اللهم اغفر لأبي سلمة وارفع درجته في المهديين واخلفه في عقبه في الغابرين واغفر لنا وله رب العالمين اللهم افسح له في قبره ونور له فيه

أبو داود 3118صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Funerals
Chapter
Closing the eyes of the deceased
Numbering
Darussalam 3118
Abu Dawud 3118