(57) باب مَنْ حَلَقَ قَبْلَ النَّحْرِ أَوْ نَحَرَ قَبْلَ الرَّمْىِ
Ibn Abbas (Allah be pleased with them) reported that it was said to Allah's Apostle (ﷺ) about sacrificing of animals, shaving of one's head, throwing of pebbles, and (the order of) precedence and succession, and he said:
There is no harm in it.
Reference: Sahih Muslim 1307
In-book reference: Book 15, Hadith 368
USC-MSA web (English) reference(deprecated numbering scheme): Book 7, Hadith 3003