But if any of you is ill or suffers from an ailment of the head ( scalp ) , he must pay a ransom either by fasting or by the giving of charity , or by offering a sacrifice . When you are safe , then whosoever enjoys the visitation until the pilgrimage , let his offering be that which may be easy , but if he lacks the means , let him fast three days during the pilgrimage and seven when he has returned , that is , ten days in all .