Before the funeral, the deceased's family follows traditional Islamic washing rites. It's important that the people who perform the washing also be Muslim and of the same sex as the deceased. The only exceptions are for children or spouses.
The washing requires following very specific rules. After placing the body on a high table and saying, "In the name of Allah," the washers use cloths to methodically clean the body, top to bottom and left to right, repeating the process three to seven times until the body is clean.
Once the deceased is clean and dry, it's time to shroud the body.