ASAP Rocky has temporarily been released from custody in Sweden.
The 30-year-old, real name Rakim Mayers, will be freed until a judge returns a verdict in the assault trial on 14 August.
He and two of his entourage have pleaded not guilty to assaulting a 19-year-old man in Stockholm in June.
Over the past week, a court has heard evidence and testimonies about the brawl, which led to ASAP Rocky’s detention in the country.
The rapper has said he and two other men – Bladimir Corniel and David Rispers – were acting in self-defence.
Previously, ASAP Rocky was asked to tell the court what happened outside the Max burger chain on 30 June.
In court on Friday, the prosecution said ASAP Rocky and his companions had “every possibility” to leave the scene and that they were not in a position where they needed to use “self-defence”.
During his summing up, prosecution Daniel Suneson told the Stockholm District Court the rapper should be jailed for about six months.
ASAP Rocky’s defence lawyer argued the incident was not a pre-meditated group assault and the rapper should be set free.
At the Stockholm District Court
Maddy Savage, BBC News
So many journalists are now reporting on this case, it’s often a crush to get in and out of the courtroom.
Swedish court officials have taped off a separate area outside the building, to separate the media from the growing number of fans who’ve turned up to follow the trial too.
In the public and press viewing gallery, ASAP Rocky’s mother has been looking tense.
The rapper has been dressed in a formal, dark suit today instead of the green prison clothes he had on earlier this week and appeared to be listening attentively, as usual.