Islamically, there are substances that are considered filthy and must not be on the person’s body, clothes, place of prayer, or even carried when praying. Some of these substances include urine, feces, blood, vomit, pus, and discharges from the penis and vagina, except maniyy (semen and the woman’s fluid of orgasm) which is not filthy.
To clean oneself after urinating and defecating, the person dries oneself of all urine with toilet paper after urinating, and then pours water on the areas where the urine was. In the case of defecation, the person is correct if one removes the defecation with toilet paper and then pour water on the stained area to remove the traces. It is also acceptable to use either toilet paper or water only. However, the exclusive use of toilet paper has conditions. The urine must not go beyond the exit area and must not dry there. Also, one’s defecation must not spread past the area of buttocks which comes together when one is standing.