Orthodox Jewish writing found in Chabad website in Sanhedrin 54b says, "if a child who is less than nine years old engages in homosexual intercourse passively, the one who engages in intercourse with him is not liable"
https://www.chabad.org/torah-texts/5458257/The-Talmud/Sanhedrin/Chapter-7/54b
Screenshot of Chabad Orthodox Jewish website
https://www.chabad.org/torah-texts/5458257/The-Talmud/Sanhedrin/Chapter-7/54b