Barcelona forward Lamine Yamal has been ruled out until at least the new year with a hamstring injury.