The poem you're likely referring to is the famous line:
"Double, double toil and trouble; Fire burn and caldron bubble."
This line is from Act IV, Scene I of Shakespeare's "Macbeth." It's spoken by the three witches during their incantation, creating a spooky and mysterious atmosphere.
Many movies have been made about Macbeth, but the line you're mentioning comes from the original play itself.