The Messenger of Allah ﷺ cursed women who frequently visit graves.
حدثنا قتيبة حدثنا أبو عوانة عن عمر بن أبي سلمة عن أبيه
أن رسول الله ﷺ لعن زوارات القبور
No references are available.
[Its isnad is hasan] Ibn Majah also narrated it in the Book of Funerals, Chapter on the prohibition of women visiting graves, no. 1576, from the hadith of Abu Awana through the same route, and Ibn Hibban graded it sahih (al-Ihsan): 3178. There is also a version on this topic from Ibn Abbas [previously mentioned: 320] and Hassan bin Thabit [Ibn Majah, no. 1574].