Pilgrimmage (Hajj)
Bukhari :: Book 2 :: Volume 26 :: Hadith 779
Narrated Ibn Abbas:
The Prophet was asked about a person who had his head shaved before slaughtering (his Hadi) (or other similar ceremonies of Hajj). He replied, "There is no harm, there is no harm."