Cain's Eye (5e Equipment)
From D&D Wiki
Wondrous item, Rare (requires attunement)
A human eyeball, too small to belong to an adult. Whenever you enter a building or artificial structure for the first time, you may roll 1d4; on a 4, you become aware of its general layout. You may attempt this roll again after completing a long rest.