Anubis
From Zelda Wiki, the Zelda encyclopedia
The Anubis is a cobralike creature that resides in the Spirit Temple. These creatures move in sync with you, but in the opposite direction. They will only attack when you hit them with your sword, and then they attack with fire. They are also weak against it. Use the fire traps in the room with it or use a Fire Arrow or Din's Fire to decimate it.