“The Messenger of Allah (ﷺ) sat in Mina,
on
the Day of Sacrifice, for the people (to come and speak to him). A
man came to him and said: ‘O Messenger of Allah, I shaved my head
before I slaughtered my sacrifice.’ He said: ‘There is no harm in
that.’ Then another man came and said: ‘O Messenger of Allah, I
slaughtered my sacrifice before I stoned (the Pillar).’ He said:
‘There is no harm in that.’ And he was not asked that day about
anything being done before another but he replied: ‘There is no
harm
in that.’”
Sunan Ibn Majah Book 25, Hadith 171