Who knew they were friends? Ed Sheeran drives fans wild as he makes surprise appearance at 50 Cent concert in London

50 Cent fans were shocked when Ed Sheeran made a surprise cameo during his London show on Tuesday.

The 48-year-old Get Rich or Die Tryin’ artist’s The Final Lap tour stopped at the famous O2 Arena.

In a clip shared by TMZ50 – real name Curtis Jackson – instructed the excited crowd to ‘turn it up even louder’ as Sheeran, 32, descended from the ceiling into a huge box.

He simultaneously sang his 2017 hit Shape Of You as Jackson instructed concertgoers to “raise their hands.”

It was at that moment that the red-haired crooner was uncovered and revealed to the crowd.

Shocker: 50 Cent fans were shocked when Ed Sheeran made a surprise cameo at his London show on Tuesday

Legendary venue: The 48-year-old Get Rich or Die Tryin’ artist’s The Final Lap tour stopped at the famous O2 Arena

Summary: After the show, the rapper took to Instagram to share images from the busy event

After the show, the rapper took to Instagram to share behind-the-scenes snaps from backstage.

He and Sheeran were both dressed in black, with faded black jeans and a short-sleeved T-shirt.

The British-born singer-songwriter, meanwhile, looked cool in a windbreaker and cargo pants.

They both wore brightly colored sneakers, while Ed rocked black and red Nikes with white soles.

Jackson wore a gray, orange and white pair, coordinating the footwear with his gray matching hat, which he wore backwards.

He wrote in the caption to his 30 million followers: ‘My husband came to see me tonight, BOOM. LONDON went crazy! It doesn’t get bigger than this.’

One fan wrote under the post: ‘I have the most unlikely friendships, I love it.’

The post was followed by a video recorded by Ed, who documented the moments before and after the electrifying performance.

Glimpse: After the show, the rapper took to Instagram to share behind-the-scenes snaps from backstage

BTS: One post showed a video recorded by Ed, documenting the moments before and after the electrifying performance

50 reposted it and wrote in the caption: ‘teddysphotos If the o2 had crazy times I would have a ball.’

There are eighteen shows left of the 103-date tour, which covers 35 countries.

In September, Eminem appeared on stage with 50 Cent during the Michigan stop of his tour. The rap icon received a warm welcome when he took the stage at Pine Knob Amphitheater in Clarkston.

Before leaving the stage, he said, “Detroit make some noise for one of the best friends I’ve ever known, 50 Cent! Make some noise for the 50th anniversary of hip hop everyone!”