“The Messenger of Allah (ﷺ) cursed women who visit graves.”
Sunan Ibn Majah Book 6, Hadith 142