The Machine Stops was written in 1909 by E.M. Forster, who you may recognize from A Room with a View, Howard's End, and suchlike. It's a short story about a future society in which space has been abolished. People live in small, hive-like cells and have everything brought to them through the function of a world-spanning device called the machine. They spend their days communicating with friends, consuming culture, and rehashing ideas without ever leaving their rooms. There is no physical contact and no direct experience of the world.
It's a bit terrifying to see how, a century later, much of the story's predictions are increasingly true in spirit.