Sacrificial Animals and Fasting During Hajj

Complete the pilgrimage and minor pilgrimage for Allah. But if you are prevented, then offer a sacrifice as you can. Do not shave your heads until the sacrifice reaches its place. If you are ill or have an ailment of the scalp, then compensate with fasting, charity, or sacrifice. When you are safe, perform the pilgrimage, and if you cannot, then fast for three days during the pilgrimage and seven when you return, making ten in total. This applies to those whose families do not reside near the Sacred Mosque.

2:196Perform the pilgrimage and the visit (to Makka) for Allah. And if ye are prevented, then send such gifts as can be obtained with ease, and shave not your heads until the gifts have reached their destination. And whoever among you is sick or hath an ailment of the head must pay a ransom of fasting or almsgiving or offering. And if ye are in safety, then whosoever contenteth himself with the visit for the pilgrimage (shall give) such gifts as can be had with ease. And whosoever cannot find (such gifts), then a fast of three days while on the pilgrimage, and of seven when ye have returned; that is, ten in all. That is for him whoso folk are not present at the Inviolable Place of Worship. Observe your duty to Allah, and know that Allah is severe in punishment.