Sunan Ibn Majah, Book 25, Hadith 3166 (In-Book)

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.’”

حَدَّثَنَا أَبُو بِشْرٍ، بَكْرُ بْنُ خَلَفٍ حَدَّثَنَا يَزِيدُ بْنُ زُرَيْعٍ، عَنْ خَالِدٍ الْحَذَّاءِ، عَنْ عِكْرِمَةَ، عَنِ ابْنِ عَبَّاسٍ، قَالَ كَانَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ يُسْأَلُ يَوْمَ مِنًى فَيَقُولُ ‏"‏ لاَ حَرَجَ لاَ حَرَجَ ‏"‏ ‏.‏ فَأَتَاهُ رَجُلٌ فَقَالَ حَلَقْتُ قَبْلَ أَنْ أَذْبَحَ قَالَ ‏"‏ لاَ حَرَجَ ‏"‏ ‏.‏ قَالَ رَمَيْتُ بَعْدَ مَا أَمْسَيْتُ قَالَ ‏"‏ لاَ حَرَجَ ‏"‏ ‏.‏

sunnah.com