After failing a drug test, Chris Brown is heading back to court. Marijuana was found in the singer's system, and a Los Angeles judge set a hearing for November to determine whether he violated the terms of his probation.

Brown tested positive for the drug back in June in Virgina while he was fulfilling his community service requirements. The singer has been on probation since 2009 after assaulting his then-girlfriend Rihanna following the Grammy Awards.

After Brown failed the drug test he reportedly used the "medical marijuana" excuse. On Monday, Judge Patricia Schnegg declared: "You are not an average person who can sit in their living room and do what you want to do, "Schnegg stated. She added, "You are not only in the public eye, but you are on probation. You should be mindful of obeying all rules of the courts. A lot of people look up to you — a lot of kids. What you do and what you say impacts other people."

Rihanna is standing behind her ex. Before Monday's court appearance she tweeted, "Praying for you baby, my best wishes are with you today! Remember that whatever God does in our lives, it is WELL DONE!!! #1Love — @chrisbrown I’m praying for you and wishing u the best today!”

It has been rumored that the pop star is prepared to defend Brown in court if necessary.  According to Radar Online, Rihanna told Brown she would go to court on November 1 and tell Schnegg that she shouldn't set a hearing to decide if he violated terms of his probation because he has accepted responsibility for his actions.