One of the women who pledged allegiance reported, "Among the things the Messenger of Allah ﷺ took from us regarding what is right, in which we were not to disobey him, was that we would not scratch our faces, cry out in lamentation, tear our garments, or let down our hair."
حدثنا مسدد حدثنا حميد بن الأسود حدثنا الحجاج عامل لعمر بن عبد العزيز على الربذة حدثني أسيد بن أبي أسيد
من المبايعات قالت كان فيما أخذ علينا رسول الله ﷺ في المعروف الذي أخذ علينا أن لا نعصيه فيه أن لا نخمش وجها ولا ندعو ويلا ولا نشق جيبا وأن لا ننشر شعرا
[Its isnad is hasan] Bayhaqi related it, 4/64, from the hadith of Abu Dawud, through him, and Nawawi graded it hasan in Riyad al-Salihin, no. 1667.