A-Haunting We Will Go (1942)

Stan and Ollie are hired to escort a coffin as it travels by train across country for its burial. They are unaware this is a con, the occupant is a alive and is a wanted gangster chasing an inheritance. Once aboard the train a mix up with a similar looking coffin leads them to working as assistants to Dante the Magician.