Justin Timberlake and Alfonso Ribeiro had some fun at the AT&T Pebble Beach Pro-Am golf tournament Saturday.

The 35-year-old singer and 44-year-old actor delighted bystanders by dancing "The Carlton" on the green in the third round. Ribeiro originated the dance as Carlton Banks on "The Fresh Prince of Bel-Air."

"It's been so awesome playing in the #attpebblebeachproam today I get to play pebble beach," Ribeiro wrote on Instagram, adding he and Timberlake had "a blast."

Timberlake and Ribeiro previously performed the dance at the American Century celebrity golf tournament in Lake Tahoe, Nev., in July. The actor also did "The Carlton" while competing on Season 19 of "Dancing with the Stars" in 2014.

Ribeiro played Carlton throughout "The Fresh Prince of Bel-Air's" six-season run on NBC. The sitcom, which aired from 1990 to 1996, co-starred Will Smith as the titular "Fresh Prince," with James Avery as Philip Banks and Janet Hubert as Vivian Banks.

"I've heard the rumors," Ribeiro said of a potential reboot to HuffPost Live in October. "It's not exciting to me because I know it ain't gonna happen. If it happened, it wouldn't be Fresh Prince. It would be something that's taking the story of the show and having all new people do something."

"To me, that's not Fresh Prince of Bel-Air," he explained. "There's one Fresh Prince of Bel-Air. Is Will Smith starring in it? No. Then it ain't no Fresh Prince of Bel-Air."

Ribeiro presently hosts "Unwrapped 2.0" on the Cooking Channel and "America's Funniest Home Videos" on ABC, while Timberlake last released part 2 of The 20/20 Experience in 2013.