The Prophet ﷺ was asked about someone who shaved his head before slaughtering, and similar matters, and he kept saying, "There is no harm, there is no harm."
حدثنا هشيم أخبرنا منصور عن عطاء
أن النبي ﷺ سئل عمن حلق قبل أن يذبح ونحو ذلك فجعل يقول لا حرج لا حرج