Big Boi is set to undergo three months of drug testing following his arrest in Auguerst for allegedly carrying an illegal substance as he stepped off a cruise liner.

The rapper, real name Antwan Patton, was departing a ship in Florida when a sniffer dog picked up traces of Marijuana residue, MDMA and ecstasy on his person.

The rapper, who is facing two felony drug chargesm strucka deal with prosectors in a Miami court on Thursday, and a judge ruled that Big Boi muct complete an unspecified number of community service hours and donate $2,000 to charity.

If the Grammy winner remains drug-free throughout the next 90 days, then all of the charges against him will be dropped, according to the Associated Press.