In a dream it is a covering for one's nakedness. It may also signify concealing one's deeds, or an unmarried person's marrying someone unsuitable.
If he sees that he is wrapped in the shroud as the dead are wrapped, that is his death. If his head and feet are not covered, that is the corruption of his religion. The less of the shroud there is on the dead person, the closer he is to repentance, and the more there is, the farther he is from repentance.