Anubis

The Anubis is a mummified, cobra-like creature that resides in the Spirit Temple in The Legend of Zelda: Ocarina of Time. An Anubis only moves when the player moves and only attacks when the player attacks. Whenever the player moves, an Anubis moves in the opposite direction, and whenever an Anubis is attacked with the sword, it attacks back with fire.

The only way to defeat an Anubis is to use fire. If an Anubis is present, there will always be a fire trap in the room. You must trick the Anubis to move it into the trap. However, a Fire Arrow or Din's Fire will also do the job.