Maliks Muwatta Book 20, Hadith Number 194.

Section : Shaving the Head.

Yahya related to me from Malik from Abd ar-Rahman ibn al-Qasim that his father used to go into Makka by night when he was doing umra and do tawaf of the House and say between Safa and Marwa and delay the shaving until the morning, but he would not go back to the House and do tawaf again until he had shaved his head.

Abd ar-Rahman added, “Sometimes he would enter the mosque and do the witr prayer there without actually going near the House.”

Malik said, “At-tafath is shaving the head, putting on normal clothes and things of that nature.”

Yahya said that Malik was asked whether a man who forgot to shave (his head) at Mina during the hajj could shave in Makka, and he said, “That is permissible, but I prefer the shaving to be done at Mina.”

Malik said, “What we are all agreed upon here (in Madina) is that no-one should shave his head or cut his hair until he has killed his sacrificial animal, if he has one, and things that are haram for him do not become halal for him until he leaves ihram at Mina on the day of sacrifice. This is because Allah, the Blessed and Exalted, says, ‘Do not shave your heads until the sacrificial animal has reached its destination.'”