It's a popular poem that has been circulating for a long time without a definitive author. It's often included in anthologies of Halloween poetry or witchcraft-themed literature, but no single author has been officially credited with its creation.
Do you remember any specific lines from the poem you're thinking of? That might help in pinpointing a more specific version or potential author.