The bride and groom, named Elizabeth and Ryan, were approached by Tom Hanks in Central Park and he posed for pictures.
Their photographer Meg Miller said the run-in with Hanks was a happy accident.
"We were photographing the bride and groom in Central Park and a guy on a jog started to slow down near the couple,
he leaned in close as he took off his hat and sunglasses and said, 'Hi, I am Tom Hanks' while reaching out to shake the grooms hand" .
"He asked their names and wished them congratulations, and before he left he asked to take a selfie with them.
He posted it within minutes to his Instagram, Twitter and Facebook. He was so polite, friendly and excited for the couple. We were all shocked and excited, what an amazing NYC moment."