َ
Question:
What should one say when going to the deceased?
Answer:
Umm Salamah (may Allah be pleased with her) narrates that the Prophet ﷺ said: When you go to a sick person, say good words, for the angels say Amen to what you say.
Umm Salamah (may Allah be pleased with her) narrates: When Abu Salamah (may Allah be pleased with him) passed away, I said: O Messenger of Allah! Abu Salamah (may Allah be pleased with him) is no longer in this world. So the Messenger of Allah ﷺ said: Recite this supplication:
أَللَّهُمَّ اغْفِرْ لِي وَلَهُ، وَأَعْقِبْنِي مِنْهُ عُقْبَى حَسَنَةً
O Allah! Forgive me and him, and grant me a better replacement for him.
Umm Salamah (may Allah be pleased with her) narrates: I made this supplication, and Allah gave me someone better than Abu Salamah (may Allah be pleased with him), that is, Muhammad ﷺ.
In the presence of the deceased, only his good qualities should be mentioned, and the heirs should be consoled and encouraged to be patient.