One of the oaths which the Messenger of Allah ﷺ received from us about the virtue was that we would not disobey him in it (virtue): that we would not scratch the face, nor wail, nor tear the front of the garments nor dishevel the hair. (Using translation from Abū Dāʾūd 3131)
كَانَ فِيمَا أَخَذَ عَلَيْنَا رَسُولُ اللهِ ﷺ فِي الْمَعْرُوفِ الَّذِي أَخَذَ عَلَيْنَا أَنْ لَا نَعْصِيَهُ فِيهِ أَنْ لَا نَخْمِشَ وَجْهًا وَلَا نَدْعُوَ وَيْلًا وَلَا نَشُقَّ جَيْبًا وَلَا نَنْشُرَ شَعْرًا