Three way switch with common terminal hard-wired to traveller
We're going to need a picture of the other switch but my guess is that the top hallway auto timer needed an always hot line and that box had the fixture load wire so someone jumped the bottom switch hot to a traveler. This isn't a common wiring practice for three way switched and should be corrected. They used the backstabs which we don't like but made a real nice jumper.