Sayyiduna Ibn Abbas (may Allah be pleased with them both) narrated that the Messenger of Allah (peace and blessings be upon him) cursed the woman who wails (over the dead) and the woman who listens to her, and he said: "Women have no share in (accompanying) the funeral."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 11261