Anas bin Malik reported,

The Messenger of Allah ﷺ, when he received the pledge of allegiance from the women, took from them a commitment that they would not wail in mourning.The women said, "Messenger of Allah, there are women who joined us in mourning during the days of ignorance. Should we now join them in their mourning?"The Messenger of Allah ﷺ replied, "There is no joining in mourning in Islam."

Nasai 1853

Sahih

أخبرنا إسحق قال أنبأنا عبد الرزاق قال حدثنا معمر عن ثابت

عن أنس

أن رسول الله ﷺ أخذ على النساء حين بايعهن أن لا ينحن فقلن يا رسول الله إن نساء أسعدننا في الجاهلية أفنسعدهن فقال رسول الله ﷺ لا إسعاد في الإسلام

النسائي 1853صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Funerals
Chapter
Wailing over the deceased
Numbering
Darussalam 1853
Nasai 1853