Charley Gallay/Getty Images; Dominique Charriau/WireImage
November 12, 2015

Who knew they were Friends?

In a new selfie shared on Justin Bieber's Instagram account, the pop star looked as surprised to have met Jennifer Aniston as fans were to see them together.

In the captionless black-and-white photo, a smiley Aniston, 46, cozied next to Bieber, 21, who wore a shocked expression on his face.

Many may find the pairing odd, but they actually have one thing in common: Selena Gomez.

Bieber and Gomez famously dated for nearly two years while Aniston has been Selena's "idol" and a member of the Revival singer's support group.

RELATED: Justin Theroux Reveals the One Compliment He Can't Stop Giving Jennifer Aniston—and It's Adorable!

The Aniston-Bieber selfie was most likely taken at The Ellen DeGeneres Show, where the Canadian hitmaker has been promoting his Purpose album release during Bieber Week.

This article originally appeared on People. For more stories like this, visit people.com.