Umm Atiya reported,

The Prophet ﷺ took a pledge from us at the time of allegiance that we would not engage in wailing for the dead, but none of us fulfilled it except five women, Umm Sulaym, Umm Ala, the daughter of Abu Sabra who was the wife of Muaz, and two other women, or the daughter of Abu Sabra, the wife of Muaz, and one other woman.

Azami 3551

Sahih

عن أم عطية قالت

أخذ علينا النبي ﷺ عند البيعة أن لا ننوح، فما وفت منا امرأة غير خمس نسوة: أم سليم، وأم العلاء، وابنة أبي سبرة امرأة معاذ، وامرأتين أو ابنة أبي سبرة، وامرأة معاذ، وامرأة أخرى.

الأعظمي 3551صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Funerals
Chapter
Prohibition of wailing over the deceased, and permissibility of weeping and showing grief over him
Section
Prohibition of wailing
Numbering
Jami al-Kamil 3551 (2nd edition)
Azami 3551