The Prophet (peace and blessings be upon him) said:
"I am free of the one who (in grief at a calamity or bereavement) shaves his head, wails loudly and tears his clothes."
Hadith Referenceصحیح الجامع الصغیر / حرف الألف / 1460
Hadith Gradingالألبانی:صحيح
Hadith Takhrij[م ن هـ] عن أبي موسى. الإرواء ٧٦١، الجنائز ٣٠: خ.