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."
حدثنا عبد الملك بن حبيب أبو مروان حدثنا أبو إسحق يعني الفزاري عن خالد الحذاء عن أبي قلابة عن قبيصة بن ذؤيب
دخل رسول الله ﷺ على أبي سلمة وقد شق بصره فأغمضه فصيح ناس من أهله فقال لا تدعوا على أنفسكم إلا بخير فإن الملائكة يؤمنون على ما تقولون ثم قال اللهم اغفر لأبي سلمة وارفع درجته في المهديين واخلفه في عقبه في الغابرين واغفر لنا وله رب العالمين اللهم افسح له في قبره ونور له فيه
Reported by Muslim, The Book of Funerals, chapter on closing the eyes of the deceased and praying for him when death occurs, hadith no. 920, from the hadith of Abu Ishaq Fazari, through this chain.The report of Jafar the teacher is daif. Abu Maysara is of unknown status (Taqrib).