Hadith 1852

It was narrated from Anas that: when the Messenger of Allah accepted the women's oath of allegiance, he accepted their pledge that they would not wail (over the death). They said: "O Messenger of Allah, there are women who helped us to mourn during the Jahiliyyah should we help them to mourn?" The Messenger of Allah said: "There is no helping to mourn in Islam."

أَخْبَرَنَا إِسْحَاقُ، قَالَ أَنْبَأَنَا عَبْدُ الرَّزَّاقِ، قَالَ حَدَّثَنَا مَعْمَرٌ، عَنْ ثَابِتٍ، عَنْ أَنَسٍ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم أَخَذَ عَلَى النِّسَاءِ حِينَ بَايَعَهُنَّ أَنْ لاَ يَنُحْنَ فَقُلْنَ يَا رَسُولَ اللَّهِ إِنَّ نِسَاءً أَسْعَدْنَنَا فِي الْجَاهِلِيَّةِ أَفَنُسْعِدُهُنَّ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ لاَ إِسْعَادَ فِي الإِسْلاَمِ ‏"‏ ‏.‏

Reference: 1118600
In-book reference: Book 21, Hadith 1852
Hadith 1852 - The Book of Funerals - Sunan an-Nasa'i - Sunnah.com