Al-Qartha' (may Allah have mercy on him) said: When the illness of Sayyiduna Abu Musa (may Allah be pleased with him) became severe, his wife cried out. He said: Do you not know what the Messenger of Allah (peace and blessings be upon him) said? She said: Of course, and then fell silent. Later she was asked: What did the Messenger of Allah (peace and blessings be upon him) say? She said: The Messenger of Allah (peace and blessings be upon him) said: "May Allah curse whoever (at a time of calamity) shaves his head, or tears his clothes, or shrieks and wails."
Hadith Referenceالمعجم الكبير للطبراني / مسند النساء / 21891