Ibn 'Abbas (RA) 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.
Hadith ReferenceSahih Muslim / The Book of Pilgrimage / Hadith: 1307