Police have arrested a man in connection with the murder of rapper XXXTentacion.

XXXTentacion, who was said to be out shopping for motorcycles prior to his death, was shot by two men in a dark coloured SUV as he left the dealership shop in Fort Lauderdale.

The 20-year-old rapper, real name Jahseh Dwayne Onfroy, died in hospital from multiple shot wounds on Monday in South Florida.

Police have now arrested the suspect, a 22-year-old man named Dedrick Devonshay Williams.

According to reports in TMZ, Williams was arrested on Wednesday evening after he was detained following a car chase. The Broward County booked the man under the charge of first-degree murder.