Battletoads is the answer that comes up most often, and for good reason. The NES platformer is remembered less for its length than for specific stages that demand near-frame-perfect execution — the speeder bike section alone has stopped generations of players.
It's worth saying that "hardest ever" isn't a settled title. Plenty of arcade and modern indie games are built to be brutal by design. But when people reach for a single name to settle the argument, Battletoads is usually it.