In May 2017, Madrid announced an agreement with Flamengo to sign the Brazil international, then aged 16.