Rep. Mario Diaz-Balart (R-Fla.) slammed rapper Jay Z for joining Stevie Wonder's boycott of Florida after traveling to Cuba.

The rapper and a number of other entertainers, including Kanye West and Justin Timberlake, have reportedly joined Wonder’s protest of Florida’s “stand your ground” law.

“Look, thank God we live in a free country, and people can opt to be silly and foolish, but that’s a contrast — they go to Cuba, and that's okay,” Diaz-Balart said Tuesday on the Laura Ingraham radio show.

“They hobnob with the regime; that’s okay. But they won’t go to Florida, where we're free. That's their choice, but I think their priorities are a little bit off.”

Jay Z and wife Beyoncé vacationed in Cuba earlier in 2013. They were criticized by Republican lawmakers who said the trip might have been a violation of the U.S. embargo on the communist country.

Wonder announced the boycott the Sunday after George Zimmerman was acquitted of second-degree murder and manslaughter charges in the shooting death of unarmed 17-year-old Trayvon Martin.

The "stand your ground" law was not a part of Zimmerman’s defense but has been mentioned repeatedly in connection with the trial. Information about it was also included in the jury’s instructions.

The law lets an individual use deadly force in self-defense even if retreat is possible.

Zimmerman said he feared for his life during a physical altercation with Martin and shot the teenager in self-defense.