The Messenger of Allah (peace and blessings be upon him) forbade that a woman who wails and laments loudly should accompany a funeral.