Kodak Black was placed on house arrest after he was pulled over in Ft. Lauderdale, Florida for driving with an expired tag and dark window tinting on Saturday.
A search of his bulletproof Dodge Durango SUV turned up 31 white tablets of oxycodone and more than $75,000 in cash.
He bonded out of jail on Saturday, and his attorney claimed the pills were prescribed for him.
RELATED: Kodak Black's Attorney Claims Pills Were Prescribed for Him
First reported by VladTV on Thursday (July 21), XXL obtained court documents that show magistrate Judge Jonathan Goodman revoked Kodak Black's supervised release and placed him on house arrest on Wednesday (July 20). Kodak appeared in court via video teleconference and paid a $250,000 personal surety bond.
According to XXL, Black must request permission from his probation officer to perform in concert or record in a studio, and he will be required to undergo random drug testing.
Black could find himself back behind bars if he fails his drug test or violates his home detention.
The 25-year-old "Super Gremlin" rapper, who was born Dieuson Octave, was placed on house arrest after he took to Twitter and accused the arresting officer of targeting him.
The rapper mocked the officer, calling him "Officer Pinky D***."
"How tf you send a ni**a to jail for my own medication?" Black tweeted. "Then tarnish my character like im trafficking oxycontin ??? But im posta sit here and dont talk about it? [sic]"
"They want a ni**a sad, depressed, suffering!" he wrote in a now-deleted tweet. "Nobody cares bout all da good you do! Just wanna catch you slipping so they can get credit for sending you to prison! [sic]"
He continued: "Can't nobody sit up here and lie & say they ain't been noticing the change and the progress I've been making!! They wanna remind people of my past instead of encouraging me to keep at this pace I've been going!"