Abu Burdah (May Allah be pleased with him) reported:
(My father) Abu Musa got seriously ill and lost his consciousness. His head was in the lap of a woman of the family and she began to wail. When Abu Musa recovered his consciousness, he said: "I am innocent of those from whom Messenger of Allah (ﷺ) is innocent. Verily, the Messenger of Allah (ﷺ) declared himself free of (the responsibility) for a woman who wails, shaves her head and tears up her clothes."[Al- Bukhari and Muslim].
App reference: Book 18, Hadith 149
Arabic/English book reference: Book 18, Hadith 1659