Jabirbin 'Abdullah said:
"The Messenger of Allah (ﷺ) sat in Mina,onthe Day of Sacrifice, for the people (to come and speak to him). Aman came to him and said: 'O Messenger of Allah, I shaved my headbefore I slaughtered my sacrifice.' He said: 'There is no harm inthat.' Then another man came and said: 'O Messenger of Allah, Islaughtered my sacrifice before I stoned (the Pillar).' He said:'There is no harm in that.' And he was not asked that day aboutanything being done before another but he replied: 'There is noharmin that.'"
English reference: Vol. 4, Book 25, Hadith 3052
Arabic reference: Book 25, Hadith 3168