American rapper Tekashi 6ix9ine has been hospitalized after being attacked by a group of assailants in a gym restroom in South Florida on Tuesday, Variety has confirmed.

The 26-year-old performer, whose real name is Daniel Hernandez, suffered bruising and facial injuries, according to his lawyer Lance Lazaro.

The lawyer said the rapper was attacked in the gym's sauna and outside by three or four men who beat him even though he tried to fight back.

"He had cuts on his face and bruises," Lazaro said.

He said the perpetrators fled after officers heard the commotion.

According to Lazaro, police were called and Hernandez was transported by ambulance to a local hospital.

It is currently unclear whether the rapper remains in hospital.

6ix9ine has been hospitalized after being attacked by a group of men in the bathroom of a gym in South Florida

— Naija (@Naija_PR) March 22, 2023

Lazaro told TMZ that he will provide the musician with "some" protection since he was released from federal prison in April 2020. The rapper was arrested and sentenced to two years in prison in 2019 on nine charges, including racketeering, drug trafficking drugs and firearms in connection with his involvement in the Nine Trey Bloods gang.

Hernandez received a reduced sentence after he cooperated with federal officials in jailing his accomplices.

He was released early due to coronavirus concerns, and the judge called him a "model prisoner."

Three men have been found guilty of murdering rapper XXXTentacion

In a video uploaded to the Twitter platform, one of Hernandez's attackers can be heard saying: "Shoot. Now I'm going to be famous."

Another video shows the bloodied rapper leaving the gym.

According to several media reports, Hernandez was ejected from a baseball stadium in Miami on Friday for being intoxicated and disturbing fans.

Video of 6ix9ine getting jumped at LA Fitness

— No Jumper (@nojumper) March 22, 2023