(45) باب مَا يُنْهَى عَنِ النَّوْحِ، وَالْبُكَاءِ، وَالزَّجْرِ، عَنْ ذَلِكَ
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.
Reference: Sahih al-Bukhari 1306
In-book reference: Book 23, Hadith 65
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 2, Book 23, Hadith 393