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

Jabir bin ‘Abdullah said: “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.’”

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

sunnah.com