Potion of Lesser Invulnerability

Makes the Hero invulnerable to damage for 7 seconds when used. An invulnerable Hero may not be the target of spells or effects.

Source
These can be bought from Goblin Merchants.