Barcelona’s Pedri sustains hamstring injury