Video of Tom Hanks crashing couple’s wedding photo shoot in New York

NEW YORK –- Tom Hanks made a couple's wedding photo shoot even more special when he broke free from his jog through Central Park and took a moment to congratulate the lovebirds.

The "Sully" actor shook their hands, kissed the bride before posing for pictures with them. The encounter was captured on video and photos, including on Hanks' Instagram account.

"Ryan you're a lucky man," Hanks told them. "Elizabeth you're a lucky woman."

While the Academy Award winner respectfully declined an invite to the wedding, he offered to marry them if their minister bailed.

"I am an ordained minister, if the guy cancels just let me know," Hanks joked.

He later posted the selfie of the couple and him and wished them many blessings.

Elizabeth and Ryan! Congrats and blessings! Hanx.

A photo posted by Tom Hanks (@tomhanks) on

Photographer Meg Miller also documented the surprise meeting on her Instagram page Meg Miller Photography.

"Yesterday's wedding was so beautiful! Elisabeth and Ryan you planned one amazing celebration," Miller wrote. "The icing on the cake was @tomhanks stopping in Central Park to wish them congratulations."

Yet Hanks isn't the only big-time celeb crashing weddings lately.

Just last month, Justin Timberlake popped in on a lucky couple in New Hampshire.

JT quickly posed with the newlyweds before running he yelled, "Congratulations!"

Back in June, Taylor Swift secretly traveled to New Jersey to sing for a fan's wedding and honor his mother's memory with a special song.

In 2013, Jersey boy Jon Bon Jovi showed up in Vegas to walk a fan down the aisle...who was clearly "living on a prayer!"

Also two years ago, it was Ms. Sasha Fierce herself-- Beyonce-- who was crashing a wedding while vacationing in Portofino, Italy!

So, wedding planners should remember the advice of Forrest Gump: when it comes to invites... "you never know what you're gonna get."