A pilgrim is not supposed to wear clothing which is sewn to cover the limbs, like a pant, shirt, or shorts. In order to avoid such discomfort or illness, anti-chafing cream or some other medical product may be used. If this does not suffice then it will be permissible to wear to the extent that it is needed to prevent hardship and illness.

Allah knows best,

Imam Mustafa Umar