Scroll of Town Portal (Warcraft III)

Teleports the Hero and any of its nearby troops to a target friendly town hall. Takes 5 seconds to cast.

Source
These can be bought from any shop in melee games.

Trivia
This item was originally featured in the Diablo series.