Sayyiduna Ibn Abbas (may Allah be pleased with them both) narrated that the Prophet (peace and blessings be upon him) was asked about a person who shaved his head before slaughtering the sacrifice, and he (peace and blessings be upon him) said: "There is no harm."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 11302