Umm Atiya reported,

We gave our pledge to the Messenger of Allah ﷺ, and he recited to us, "that they will not associate anything with Allah" [Mumtahanah 60:12], and he forbade us to wail in mourning. One woman pulled back her hand and said, "Such-and-such a woman once joined me in mourning, and I want to repay her."The Prophet ﷺ said nothing to her. So she went off, then came back and gave her pledge.

Azami 3552

Sahih

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

بايعنا رسول الله ﷺ فقرأ علينا: {أن لا يشركن بالله شيئا} [سورة الممتحنة: ١٢] ونهانا عن النياحة، فقبضت امرأة يدها فقالت: أسعدتني فلانة، فأريد أن أجزيها، فما قال لها النبي ﷺ شيئا، فانطلقت ورجعت فبايعت.

الأعظمي 3552صحيح
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 3552 (2nd edition)
Azami 3552