The rapper is facing legal trouble in Sweden following his alleged involvement in a street altercation, which he documented on Instagram

A$AP Rocky will remain in a Swedish jail for two weeks as prosecutors investigate his involvement in a street altercation earlier this week.

“There was a detention hearing earlier today where the court decided he should be detained for two weeks,” a spokesperson from the Stockholm Prosecutor’s Office told PEOPLE Friday. “This is so that the prosecutor can gather evidence and look into the case a little further. He is in custody somewhere in Stockholm.”

The 30-year-old music star, né Rakim Mayers, was arrested in Stockholm on Tuesday following a street altercation for suspected assault, along with three others who were involved in the incident — “two of whom were suspected of serious abuse and one of the abuse of the normal degree,” according to the prosecutor’s office press release on Wednesday.

Raf Simons : Front Row - Paris Fashion Week - Menswear Spring/Summer 2019
A$AP Rocky
| Credit: Victor Boyko/Getty

A$AP Rocky appeared in Stockholm District Court with his lawyer on Friday, where the judge ruled on the two-week investigation — though the rapper could be detained even longer if prosecutors need more time.

“It depends on whether the investigation is completed or not,” the spokesperson told PEOPLE. “If the investigation is finished and the prosecutor chooses to indict, then they will do that. But if the investigation is not completed by then — which is fairly likely given that two weeks is a relatively short time — the prosecutor will request that he is detained for a further two weeks. It is then for the court to decide.”

Speaking to PEOPLE, the rapper’s lawyer Henrik Olsson Lilja said, “The prosecutor told us today that he will not probably be finished within two weeks, so my assumption is that he will have completed the investigation within around three-four weeks. We appealed the District Court’s decision today, but the Court of Appeal rejected that. Now we will probably appeal to the Supreme Court, but they will not be able to try this until next week, probably.”

“The Swedish detention system is a little old fashioned. We don’t have the bail system,” Lilja explained. “We will see what the Supreme Court says because this is quite an interesting issue. The reason that he’s being kept in the detention center is that the court ruled that there is a risk that he won’t come back to Sweden if we have a trial. But that is usually applicable to foreigners who are known to be living on the other side of the law, but this is a celebrity so, of course, he will come back. So I don’t understand this decision.”

He added, “[A$AP Rocky] is OK but at the same time, this is a catastrophe concerning his tour. For example, he is supposed to be in London on Sunday. He is very concerned about his fans. So, in that sense, he is not feeling well.”

amfAR Gala Cannes 2017 - Dinner
A$AP Rocky
| Credit: Gisela Schober/Getty

A$AP Rocky detailed the events leading to the arrest to his 10.2 million Instagram followers.

The first video the artist shared to his social platform showed what appeared to be the beginning of the street incident that later led to the arrests.

In the footage, A$AP Rocky and his entourage are approached by two young men on the street when an argument between the groups breaks out. One person from the rapper’s crew, whom the rapper later claimed was his bodyguard, can be heard telling the two men to “go that way — you following us” and another person can be heard saying, “Nobody wants to fight with you bro.”

RELATED: Nelly Supports Lil Nas X After Rapper Came Out as Gay: ‘I Compliment Him on His Courage’

A$AP Rocky explained the incident in the caption of the video.

“So a few drug addicts are not my fans,” he claimed. “We don’t know these guys and we didn’t want trouble, they followed us for 4 blocks, and they were slapping girls butts who passed, give me a break.”

A$AP Rocky’s arrest took place after he performed at the Smash hip-hop festival in Stockholm. Prior to his trip to Sweden, the rapper had performed in Paris and also posted photos from a trip to Japan. Since the arrest, A$AP Rocky has missed scheduled performances at the Open’er Festival in Poland as well as Longitude in Ireland. He had been expected to headline London’s Wireless festival this weekend.

A rep for the rapper did not immediately respond to PEOPLE’s request for comment.