Eric Bailly seems to have gone down with a leg cramp, Andreas is assisting him in stretching out. 

He gets up and Madrid get ready to take the corner but before it can happen, he goes back down and the medical staff come on. 

The replay shows that while conceding the corner, the went down wrong.