There are different rules for shrouding male and female Muslims. To wrap a male Muslim corpse, you use three white sheets and four ropes. After placing the man's hands on his chest, right hand on top of left hand, you wrap each sheet, right side first, over the body. To finish the shrouding, tie two ropes just above the head and just below the feet, and use the other two ropes to secure the sheets around the body.
For women, the wrappings are much more intricate. The corpse wears a loose-fitting, sleeveless dress, a head veil and a loin cloth. All of that goes underneath the same sheets and ropes that you'd use to wrap a male corpse.
Muslim tradition stresses that once a person dies, the burial should happen as soon as possible, so it's important to begin the funeral as soon as the shrouding is complete.