Sunan an-Nasa'i · Hadith 2043
The Book of Funerals - كتاب الجنائز
أخبرنا قتيبة، قال حدثنا عبد الوارث بن سعيد، عن محمد بن جحادة، عن أبي صالح، عن ابن عباس، قال : لعن رسول الله صلى الله عليه وسلم زائرات القبور والمتخذين عليها المساجد والسرج .
It was narrated that Ibn Abbas said: "The Messenger of Allah cursed women who visit graves, and those who take them as Masjid and put lamps on them."
Gradings are classical jarḥ-wa-taʿdīl, name-matched to a rijāl index (not individually re-verified).