It was narrated that Ibn ‘Abbas said:
“The Messenger of Allah (ﷺ) was asked on the Day of Mina, and he would say: ‘There is no harm in that, there is no harm in that.’ A man came to him and said: ‘I shaved my head before I slaughtered (my sacrifice),’ and he said: ‘There is no harm in that.’ He said: ‘I stoned (the Pillar) after evening came,’ and he said: ‘There is no harm in that.’”