Anas bin Malik reported,

When the Prophet ﷺ took the pledge of allegiance from the women, he required them not to wail in mourning.They said, "Messenger of Allah, there are women who assisted us in our mourning during the days of ignorance. May we assist them in return now under Islam?"He ﷺ replied, "There is no mutual assistance in wailing under Islam, no shighar marriage in Islam, no slaughtering of animals at graves in Islam, no jalab, no janab, and whoever plunders is not one of us."

Azami 3565

Sahih

عن أنس قال

أخذ النبي ﷺ على النساء حين بايعن أن لا ينحن. فقلن: يا رسول الله! إن نساء أسعدننا في الجاهلية، فتسعدهن في الإسلام؟ قال ﷺ: ولا إسعاد في الإسلام، ولا شغار في الإسلام، ولا عقر في الإسلام، ولا جلب ولا جنب، ومن انتهب فليس منا.

الأعظمي 3565صحيح
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
No wailing in Islam
Numbering
Jami al-Kamil 3565 (2nd edition)
Azami 3565