If you dream of washing a dead body, it may carry an important message for your life. This dream indicates comfort for your loved ones and an increase in their prosperity. Washing the dead body symbolizes your ability to do something good for them, creating the possibility of happiness in their lives. It may also reflect your awareness of your relationships and responsibilities.
From Imam Muhammad Ibn Seerin's Dictionary of Dreams According to Islamic Inner Traditions â entry "Washing the dead" (page 468).
If one sees a deceased person washing himself before burial in a dream, it means relief for one's dependents and increase of their wealth after him. Washing a deceased person in a dream means that someone will repent at the hand of the undertaker. If a deceased person asks someone to wash his clothing in a dream, it means that he needs someone to pray for him, or to intercede on his behalf before his Lord, or pay charity for the benefit of his soul, or to satisfy his debts, or to fulfill his will, or to seek justice for his death. If one does wash the garment of the deceased person in the dream, it means the redemption of that person. Washing a deceased person with boiling water in a dream means that the latter is suffering in hell-fire. (Also see Grave digger; Hot water; Ritual bath; Undertaker)
Note: Islamic dream interpretation depends on the dreamer's circumstances and state. This is a general guide drawn directly from the source book.