Abd al-Rahman bin Hassan narrates from his father (may Allah be pleased with him): "The Messenger of Allah (peace and blessings be upon him) has cursed the women who visit graves."