Does the Old Testament actually say the Messiah would be three days and three nights in the tomb?

Not explicitly that he was aware of, though it was pictured in types and Peter quoted David in the Psalms about Christ's death, burial, and resurrection.

Watch the Teaching: What Is "My Gospel" That God Will Judge the World By?