Play video content Exclusive WSVN-TV FOX

DaBaby got hauled away in handcuffs, and it's because cops want to hear what he has to say about a robbery ... TMZ has learned.

Play video content

The rapper's been taken to police headquarters in Miami for questioning by detectives regarding a robbery Thursday around 12:30 PM. Seven cop cars were on hand when DaBaby was cuffed.

Play video content 1/2/20 TMZ.com

Check out the video of the alleged robbery. You see some guys -- we're told they are members of DaBaby's crew -- jumping a man and apparently taking his money and possibly some other property as well.

Play video content TMZ.com

It's been a rough run for DaBaby ... he was just arrested last week in Charlotte, North Carolina after he performed at the Bojangles' Coliseum. He was cited for marijuana possession, but he claims he was targeted and claimed on social media that police harass him every time he comes to his home state.

He said 15 cops swarmed his vehicle once he left the venue, searched it and found weed. CMPD has launched an Internal Affairs investigation to determine if officers followed department polices during the incident.

DaBaby was also arrested in early 2019 for an alleged attack in November 2018. The rapper allegedly got into a fight with a man inside a Walmart, and the altercation resulted in a man getting shot and killed. DaBaby initially claimed he was threatened and was protecting himself and his kids. He never copped to pulling the trigger.

The rapper was convicted in June of carrying a concealed gun, a misdemeanor. He was sentenced to 12 months of unsupervised probation and 30 days in jail ... but the jail sentence was suspended.