Watch: John Travolta dances 'Just a Lil Bit' with 50 Cent in Cannes

Andrea Mandell | USA TODAY

Show Caption Hide Caption 'Solo: A Star Wars Story' team walks the red carpet at Cannes The cast and filmmakers of the young Han Solo spinoff "Solo: A Star Wars Story" walk the red carpet. Video provided by AFP.

CANNES, France – Who knew these two were friends?

Tuesday night wrought a classic Cannes moment when John Travolta brought his Saturday Night Fever dance moves to the stage with 50 Cent.

You read that right.

The rapper flew in town to perform at a party for Travolta throw by Variety, which awarded the actor with its first-ever Cinema Icon award.

As 50 Cent launched into performing Just A Lil Bit, a bearded Travolta joined him on stage. It was epic.

Travolta is in town with his new mob drama Gotti, directed by former Entourage star Kevin Connolly. Earlier Tuesday evening, a dapper 50 Cent walked the red carpet for Solo: A Star Wars story with Travolta and his wife, Kelly Preston.

A bit of Cannes trivia: Pitbull, who composed the soundtrack for Gotti, was supposed to perform at Tuesday's glitzy bash, held seaside at the famed Hotel Du Cap Eden-Rock. But when he couldn't make it, 50 Cent stepped in. “l swear l only came out here because of him,” he tweeted afterward.

Now that's friendship.