What was narrated concerning the prohibition of women visiting the graves Sunan Ibn Majah 1575

Arabic hadith text
حَدَّثَنَا أَزْهَرُ بْنُ مَرْوَانَ، حَدَّثَنَا عَبْدُ الْوَارِثِ، حَدَّثَنَا مُحَمَّدُ بْنُ جُحَادَةَ، عَنْ أَبِي صَالِحٍ، عَنِ ابْنِ عَبَّاسٍ، قَالَ:لَعَنَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ زُوَّارَاتِ الْقُبُورِ ‏.‏
Translation
It wasnarrated that Ibn ‘Abbas said

“The Messenger of Allah (ﷺ)cursed women who visit graves.”