Alves was arrested more than a week ago, after being accused of sexual assault, made about the defender relating to an incident in a Barcelona nightclub at the end of last year.
The 39-year-old contract with Mexican club Pumas was terminated in the wake of the arrest and he is currently being held in a prison outside of the city.
Barcelona manager, Xavi described his shock that the Brazilian, who was recently at the World Cup with his national team, had been arrested.
Despite being there over a week now, Alves remains in Brians 2 Prison, located in Sant Esteve Sesrovires, just outside the city, although he is expected to appeal for bail.
Whilst he awaits being released, his time in prison so far has been described by Spanish outlet Marca, who say the right-back has played his first game of football.
There are few things to know about the match, other than it took place on Thursday and, understandably, it was met with lots of interest from fellow inmates.
The rest of those in the jail wanted to see him play live on the prison yard, definitely not something many would have expected to ever see.