Parshas Acharei Mos · Passuk 18:22
Chabad.org — English translation + Rashi
Torah Temima points to Yevamos 83b.
English: The Gemara identifies an androgynous person as having two forms of intercourse; liability applies in the male aspect, not the female aspect.
Androgynous person: male aspect
The prohibition applies to the male aspect of an androgynous person, but not to the female aspect.