By Brandi Fowler
Updated Apr 21, 2016 @ 7:30 pm
Jason LaVeris/Getty Images, Dimitrios Kambouris/Getty Images, Ethan Miller/Getty Images

Following the news of Prince's shocking death, stars flooded social media with their condolences. And many of those who'd had the privilege of working with him, meeting him or calling him a friend, shared special photos on Instagram as tribute to the iconic musician and his legacy.

"Genius, legend, inspiration, friend. The world will miss you. I'll never get over it," Mariah Carey captioned a smiling shot of herself standing beside Prince.

Madonna also honored the "Purple Rain" singer, posting a photo of herself standing near Prince in coordinating yellow ensembles with big smiles on their faces. "He Changed The World!! A True Visionary. What a loss. I'm Devastated. This is Not A Love Song," she wrote alongside it.

Penelope Cruz paid tribute to her friend with a photo of them together, showing the two side by side at an event. "I met you when I was only 14 and I remember it like it was yesterday," she captioned the image. "You have inspired me in so many ways...Over all these years we have shared so many beautiful moments and I thank you again for that. You are magic and that's what you gave us. This world will miss you, my friend. There's a place in my heart for you, forever."

Jennifer Hudson, who sang "Nothing Compares 2 U" with Prince in 2012 during his "Welcome 2 America" Tour, posted a shot of that performance, captioning it, "I'm heartbroken and speechless."

Many more stars like Chaka Khan Ludacris, Barbra Streisand, and Spike Lee chimed in with their own photo memorials as well.

Prince, who touched so many and left a huge musical legacy, was found dead Thursday at his Paisley Park residence in Chanhassen, Minn. May he rest in peace.