At the time of giving the pledge of allegiance to the Prophet (ﷺ) one of the conditions…

Sahih al-Bukhari Book 23 Hadith 65

Sahih al-Bukhari #1306

Funerals (Al-Janaa'iz) 23:65

Narrated Um 'Atiyya:

At the time of giving the pledge of allegiance to the Prophet (ﷺ) one of the conditions was that we would not wail, but it was not fulfilled except by five women and they are Um Sulaim, Um Al-`Ala', the daughter of Abi Sabra (the wife of Mu`adh), and two other women; or the daughter of Abi Sabra and the wife of Mu`adh and another woman.

Chapter: The forbiddance of wailing and crying aloud

Grade: Sahih