Sayyiduna Jabir bin Abdullah (may Allah be pleased with them both) narrates from the Messenger of Allah (peace and blessings be upon him) that during the Farewell Hajj, when some people came to him (peace and blessings be upon him), some of them said: "I shaved my head before sacrificing?" He (peace and blessings be upon him) said: "There is no harm." And someone said: "I sacrificed before stoning (the jamarat)?" He (peace and blessings be upon him) said: "There is no harm."
He (peace and blessings be upon him) also said: "All of Arafat is a place of standing, all of Muzdalifah is a place of standing, and all the mountain paths of Makkah are a road and a place of sacrifice."