English translation
1500. It was narrated that 'Awf bin Mâlik said: "I saw the Messenger of Allâh ﷺ offering the funeral prayer for a man among the Ansâr, and I heard him say: 'Allâhumma salli 'alayhi waaghfirlahu warhamhu, wa 'âfihi wa'fu 'anhu, waghsilhu bi mâ'in wa thaljin wa baradin, wa naqqihi min adhi-dhunubi wal-khatâya kamâ yunaqqath-thawbul-abyadu minad-danas, wa abdilhu bi dârihi dâran khayran min dârihi, wa aylan khayran min ahlhi, wa qihi fitnatal-qabri wa 'adhâban-nâr'. (O Allâh, send blessing upon him, forgive him, have mercy on him, keep him safe and sound, and pardon him; wash him with water and snow and hail, and cleanse him of sins just as a white garment is cleansed of dirt. Give him in exchange for his house a house that is better than his house, and a family that is better than his family. Protect him from the trial of the grave and the torment of the Fire).'" (Sahih)
'Awf said: "I remember standing there, wishing that I was in the place of that man."
Arabic text
1500 - حَدَّثَنَا يَحْيَى بْنُ حَكِيمٍ قَالَ: حَدَّثَنَا أَبُو دَاوُدَ الطَّيَالِسِيُّ قَالَ: حَدَّثَنَا فَرَجُ بْنُ الْفَضَالَةِ قَالَ: حَدَّثَنِي عِصْمَةُ بْنُ رَاشِدٍ، عَنْ حَبِيبِ بْنِ عُبَيْدٍ، عَنْ عَوْفِ بْنِ مَالِكٍ، قَالَ شَهِدْتُ رَسُولَ اللَّهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ صَلَّى عَلَى رَجُلٍ مِنَ الْأَنْصَارِ فَسَمِعْتُهُ يَقُولُ: «اللَّهُمَّ صَلِّ عَلَيْهِ، وَاغْفِرْ لَهُ وَارْحَمْهُ، وَعَافِهِ وَاعْفُ عَنْهُ، وَاغْسِلْهُ بِمَاءٍ وَثَلْجٍ وَبَرَدٍ، وَنَقِّهِ مِنَ الذُّنُوبِ وَالْخَطَايَا كَمَا يُنَقَّى الثَّوْبُ الْأَبْيَضُ مِنَ الدَّنَسِ، وَأَبْدِلْهُ بِدَارِهِ دَارًا خَيْرًا مِنْ دَارِهِ، وَأَهْلًا خَيْرًا مِنْ أَهْلِهِ، وَقِهِ فِتْنَةَ الْقَبْرِ وَعَذَابَ النَّارِ» قَالَ عَوْفٌ، فَلَقَدْ رَأَيْتُنِي فِي مُقَامِي ذَلِكَ أَتَمَنَّى أَنْ أَكُونَ مَكَانَ ذَلِكَ الرَّجُلِ