Within hours of after being released from prison on Friday (Aug. 1), Remy Ma jumped into the studio booth with DJ Khaled.

The Bronx rapper and the We the Best executive posted photos on their respective Instagram pages of their late-night recording session. No word on what they were cooking up in the studio.

However, Khaled did give Remy a motivational pep talk before they got down to business.

"@therealremyma fresh out ! I'm telling rem GOD IS THE GREATEST! The world excited you home ! Rem back ! Bless up! @wethebestmusic," he wrote.

Khaled then followed up with this message, "This what happen earlier today @therealremyma fresh out ! Im up to something!!!! @wethebestmusic #wtb jus know ! Know dat! Trust dat!! #wethebest!"

Remy and Khaled do have history together. The duo worked together on Terror Squad’s compilation album 'True Story' in 2004. It's good to see the pair rekindle their musical relationship.

In addition to reuniting with Khaled, Remy was also treated to a delicious chocolate cake from her hubby rapper Papoose.

"Congratulations to the #Queen happy 2c you walk out that cage!!!!!!!!!! Time 2 begin a new chapter It's your time #therulersback," he wrote.

In the end, Remy Ma is still pinching herself that she's a free woman. "Woke up n my own bed, still can't believe it!" she wrote.

Welcome home, Remy Ma!

Check out the pics below.