Sunan an-Nasa'i, Book 21, Hadith 35 (Nasa'i 1857)

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."