ذِكْرُ مَا يُسْتَحَبُّ لِلْمَرْءِ أَنْ يَسْأَلَ اللَّهَ جَلَّ وَعَلَا لِمَنْ يُصَلِّي عَلَيْهِ الْإِبْدَالَ لَهُ دَارًا خَيْرًا مِنْ دَارِهِ، وَأَهْلًا خَيْرًا مِنْ أَهْلِهِ
"I heard the Messenger of Allah offer the funeral prayer and say: Allahumma ighfir lahu warhamhu waʿfu ʿanhu wa ʿafihi, wa akrim nuzulahu wa wassiʿ mudkhalahu waghsilhu bi-ma'in wa thaljin wa-barad, wa naqqihi min al-khataya kama yunaqqa ath-thawb al-abyad min ad-danas. Wa abdilhu daran khairan min darihi wa ahlan khayran min ahlihi, wa zawjan khayran min zawjihi, wa qihi 'adhab al-qabri wa 'adhab an-nar (O Allah, forgive him and have mercy on him, forgive him and keep him safe and sound, honor the place where he settles and make his entrance wide; wash him with water and snow and hail, and cleanse him of his sin as a white garment is cleansed of dirt. Give him a house better than his house and a family better than his family and a spouse better than his spouse. Protect him from the torment of the grave and the torment of Hell-fire)." 'Awf said: "I wished that I was that deceased person because of the supplication that the Messenger of Allah said for that deceased person." (Using translation from Nasāʾī 1983)
سَمِعْتَ عَوْفَ بْنَ مَالِكٍ الْأَشْجَعِيَّ يَقُولُ صَلَّى رَسُولُ اللَّهِ ﷺ عَلَى جَنَازَةٍ فَحَفِظْتُ مِنْ دُعَائِهِ وَهُوَ يَقُولُ «اللَّهُمَّ اغْفِرْ لَهُ وَارْحَمْهُ وَاعْفُ عَنْهُ وَأَكْرِمْ مَنْزِلِهِ وَأَوْسَعْ مُدْخَلَهُ وَاغْسِلْهُ بِالْمَاءِ وَالثَّلْجِ وَالْبَرَدِ وَنَقِّهِ مِنَ الْخَطَايَا كَمَا يُنَقَّى الثَّوْبُ الْأَبْيَضُ مِنَ الدَّنَسِ وَأَبْدِلْهُ بِدَارِهِ دَارًا خَيْرًا مِنْ دَارِهِ وَأَهْلًا خَيْرًا مِنْ أَهْلِهِ وَزَوْجَةً خَيْرًا مِنْ زَوْجَتِهِ وَأَدْخِلْهُ الْجَنَّةَ وَأَعِذْهُ مِنَ النَّارِ وَمَنْ عَذَابِ الْقَبْرِ» حَتَّى تَمَنَّيْتُ أَنْ أَكُونَ ذَلِكَ الْمَيِّتَ