John Legend and Juanes perform at the 9th Annual Latin GRAMMY Awards held at the Toyota Center in Houston, Texas.

Music star John Legend and Colombian singer Juanes joined forces to sing to detained immigrants in Arizona.

On Wednesday morning, Juanes and Legend brought their music to the doors of Eloy Immigration Detention Center, where more than 1,500 incarcerated people are facing deportation proceedings. The two sang as part of the #freeamerica campaign in a protest against "crimmigration."

John Legend-Produced Drama 'Underground' Lands Premiere Date, Releases New Trailers

The Grammy winners each played two songs separately and one together -- Bob Marley's "Redemption Song" -- as dozens of people sang along in Eloy, about 60 miles southeast of Phoenix.

Both singers were not allowed to sing inside the facilities.

Juanes & Ben Silverman Shop Bilingual TV Series Described as 'Narcos' Meets 'Entourage': Exclusive

In Arizona, Legend and Juanes joined activist organization “Puente” (Bridge), which protests against the conditions in the detention center, deportations and separation of immigrant families.

“This is all part of listening and learning for #FreeAmerica,” said Legend in a video posted by the organization. “Today we’re focusing on how the immigration system interacts with the massive incarceration system,” he added.

John Legend and Juanes going into their Eloy Detention Center tour #juaneslegend #freeamerica pic.twitter.com/WPoV0j52gP — Puente Arizona (@PuenteAZ) January 20, 2016

On Twitter, Juanes posted: “Incarceration in all its forms is an inhumane practice.”

#FreeAmerica is a campaign launched by Legend, who has visited several correctional facilities. Juanes is active in social endeavors through his Mi Sangre foundation.

Watch their performance below: