"Allah's Messenger cursed the women who visit the graves, and those who use them as Masajid and put torches on them."
Jami` at-Tirmidhi Book 2, Hadith 172