If someone who has become junub by unlawful means performs ghusl with hot water, his ghusl is valid even if he sweats [during the ghusl].