Whoever performs one rite before another Sunan Ibn Majah 3052

Arabic hadith text
حَدَّثَنَا هَارُونُ بْنُ سَعِيدٍ الْمِصْرِيُّ، حَدَّثَنَا عَبْدُ اللَّهِ بْنُ وَهْبٍ، أَخْبَرَنِي أُسَامَةُ بْنُ زَيْدٍ، حَدَّثَنِي عَطَاءُ بْنُ أَبِي رَبَاحٍ، أَنَّهُ سَمِعَ جَابِرَ بْنَ عَبْدِ اللَّهِ، يَقُولُ قَعَدَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ بِمِنًى يَوْمَ النَّحْرِ لِلنَّاسِ فَجَاءَهُ رَجُلٌ فَقَالَ يَا رَسُولَ اللَّهِإِنِّي حَلَقْتُ قَبْلَ أَنْ أَذْبَحَ قَالَ ‏"‏ لاَ حَرَجَ ‏"‏ ‏.‏ ثُمَّ جَاءَهُ آخَرُ فَقَالَ يَا رَسُولَ اللَّهِ إِنِّي نَحَرْتُ قَبْلَ أَنْ أَرْمِيَ قَالَ ‏"‏ لاَ حَرَجَ ‏"‏ ‏.‏ فَمَا سُئِلَ يَوْمَئِذٍ عَنْ شَىْءٍ قُدِّمَ قَبْلَ شَىْءٍ إِلاَّ قَالَ ‏"‏ لاَ حَرَجَ ‏"
Translation
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.’”