Islamic Interpretation of Dreams (Ibn-i Sirin):

Embalming the body of a deceased person in a dream is a cause of happiness for a sad person and repentance of a sinner.

(Also see Shroud)