Teen idol Justin Bieber may have more fans clambering to get his autograph, but it was Oscar winner Tom Hanks — not the "Never Say Never" hit maker — who ruled the dance floor at a recent wedding the men both attended!

The Biebs captured the Forrest Gump actor dancing to the Montell Jordan 1995 hit "This Is How We Do It" at celebrity manager Scooter Braun's recent nuptials in Canada, and it's pretty incredible (as well as far too short!)

In the video, Tom is seen wearing what looks like a traditional prayer shawl and skullcap (the groom is Jewish) as he busts a move on the crowded dance floor.

But the unlikely celeb duo weren't the only stars present at the July 7 ceremony and reception.

Singers Ed Sheeran, Ariana Grande and Carly Rae Jepsen (whom Scooter manages) were also on hand for the shindig, as well as Tom's wife, Rita Wilson!

Check out the fun video below:

//instagram.com/p/qKUMaGgvkE/