 He contributed with 37 appearances and seven goals during the campaign, as his side achieved promotion to La Liga for the first time ever.On 17 June 2016, Gabriel signed a permanent three-year deal with the Madrid side, who activated his buyout clause for €1 million fee.He made his debut in the main category of Spanish football on 22 August 2016, starting in a 1–0 away win against Celta de Vigo.