 On 5 November, he picked up a hamstring injury late on in a 3–2 win against Norwich City at Carrow Road, returning to action after almost two months; he celebrated his return on 26 December with a goal after replacing Hadi Sacko, helping to a 4–1 triumph at Preston North End.On 9 January 2017, Hernández signed a permanent six-month contract for Leeds, with the club having the option to extend the contact by 12 months at the end of the season.He appeared in his first match after the new agreement four days later, helping his team climb to third in the table after defeating Derby County 1–0 at home and being named Player of the match in the process.