The Hobbit
Although Tolkien borrowed (for example names and background) from his own Middle-earth storyline, The Hobbit was at first not intended to be part of it. Only later, when Tolkien wrote The Lord of the Rings, did he integrate the story of both Hobbit and The Lord of the Rings into his Middle-earth world.