Sanhedrin 54b says, "Therefore, just as one who engages in intercourse actively is not liable if he is less than nine years old, as the intercourse of such a child does not have the halakhic status of intercourse, so too, 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."