Abu Musa fell gravely ill and lost consciousness, with his head resting in the lap of a woman from his household. She wailed, but he was unable to respond to her. When he came to, he said, "I disassociate myself from those whom the Messenger of Allah ﷺ disassociated himself from. The Messenger of Allah ﷺ disassociated himself from the woman who raises her voice in lamentation, the woman who shaves her head in grief, and the woman who tears her clothes in mourning."
وجع أبو موسى وجعا فغشي عليه، ورأسه في حجر امرأة من أهله، فلم يستطع أن يرد عليها شيئا، فلما أفاق قال: أنا بريء ممن برئ منه رسول الله ﷺ: إن رسول الله ﷺ برئ من الصالقة والحالقة والشاقة.
Bukhari narrated it in the Book of Funerals (1296), and Muslim narrated it in the Book of Faith (104), both of them from Hakam bin Musa Qantari, who said, Yahya bin Hamza narrated to us, from Abdul-Rahman bin Yazid bin Jabir, from Qasim bin Mukhaymara, who said, Abu Burda bin Abu Musa narrated to me, and he related it.Muslim also narrated it through another route, in which the Messenger of Allah ﷺ said, "I disown whoever shaves their head, wails loudly, or tears their clothes."The one who wails loudly is the woman who raises her voice at a calamity. The one who shaves her head is the woman who shaves her hair at a calamity. The one who tears is the woman who tears her garment at a calamity.