Jennifer Lopez shows off her curves in throwback workout pic with Dwayne Johnson

Shake that! Jennifer Lopez has no problem showing off her famed backside. The 47-year-old World of Dance judge flaunted her curves in a throwback workout pic, posted by pal Dwayne "The Rock" Johnson.

MORE: Jennifer Lopez Cheers on Boyfriend Alex Rodriguez's 12-Year-Old Daughter as She Sings for Her

"#TBT gettin' after it hard core with my family and fellow gym beast @jlo," Johnson, 45, captioned the shot. "#HardestWorkersInTheRoom #Sistah."

In the Instagram photo, Lopez's back is facing the camera as she poses in black spandex pants and a crop top.

The Shades of Blue star wasn't wearing makeup and pulled her hair up in a top knot for her workout. Johnson sported a cut-off tank top, flashing his impressive biceps.

WATCH: EXCLUSIVE: Dwayne Johnson for President? His 'Baywatch' Co-Stars Weigh In!

The photo appears to be from back in January, when J.Lo posted a gym selfie with The Rock, writing, "Just a couple of gym rats gettin' it in!! @therock thanks for the love and for all the positive energy and inspiration you put out into the world!! #hardworkwins#youcantstopwhatwontstop #erryday."

See more photos of Jennifer Lopez: