Thus was the gospel preached to those who had died. Doctrine & Covenants 138:32
Trivia: What is the time period between now and the coming of Jesus called in the Doctrine and Covenants?