"Allah's Messenger cursed the women who visit the graves, and those who use them as…

Jami` at-Tirmidhi Book 2 Hadith 172

Jami` at-Tirmidhi #320

The Book on Salat (Prayer) 2:172

Ibn Abbbas narrated:

"Allah's Messenger cursed the women who visit the graves, and those who use them as Masajid and put torches on them."

Chapter: Undesirability Of Taking The Grave As A Masjid

Grade: Da'if (Darussalam)