Mormons believe that when the Old-Testament prophet Malachi spoke of “turning the hearts of the children to their fathers” he was referring to the importance of performing vicarious ordinances in their behalf.
Malachi 4:5-6:
The apostle Peter taught that between Christ’s death and resurrection He visited and preached to the spirits in prison. “Prison” refers to the spirit-world experience of those who did not follow Christ in this life. (Note that the typical connotation of “prison” does not apply here. Many honest, sincere, wonderful people will find themselves in spirit “prison” simply because they never had the opportunity to learn of Christ’s true gospel or because they were sincerely dedicated to other belief systems.) Through the missionary work Christ initiated, as described in the verses below, many in the spirit world have chosen to accept Christ and now await baptism and other essential ordinances. Mormons perform these ordinances vicariously for their ancestors in LDS temples.
1 Peter 3:18-20:
Peter taught that the gospel was preached to those that are dead on a separate occasion as well. Through this “preaching” many in the spirit world have chosen to accept Christ and now await baptism and other essential ordinances. Living Mormons perform these ordinances vicariously for their ancestors “that they might be judged according to men in the flesh.”
1 Peter 4:6:
The apostle Paul mentioned the concept of “baptism for the dead.” This is but one of the essential ordinances that Mormons perform vicariously for their ancestors in LDS temples.
1 Corinthians 15:29: