You have that mechanics in the Kahldun dungeon.
"Khaldun and its surrounding areas do not allow the use of recalls, gates, sacred journeys, or any teleportation type spells. It also restricts the resurrection abilities of all characters. Once dead, you will have to zone out. Once you zone out...