Riyad as-Salihin 939: On the Contents of Funeral Prayers
Abu Abdur Rahman Auf ibn Malik relates: The Holy Prophet led the funeral prayer over a deceased person and I preserved his prayer in my memory. He supplicated: Allah, do forgive him and have mercy on him and make him secure and overlook his shortcomings, and bestow upon him an honoured place in Paradise, and make his place of entry spacious, and wash him clean with water and snow and ice, and cleanse him of all wrong as Thou dost cleanse a piece of white cloth of dirt, and bestow upon him a home better than his home and a family better than his family and a spouse better than his spouse, and admit him into Paradise, and shield him from the torment of the grave and the torment of the Fire. Hearing him I wished I had been that corpse (Muslim).