Jerusalem Talmud, Sanhedrin 23c
תלמוד ירושלמי כג:ג
רבי יהודה בן פזי סלק לעיליתא דבי מדרשא וראה שני בני אדם נזקקין זה לזה. אמרו ליה: רבי, הב דעדך, דאת חד ואנן תרי.
Yuda ben Pazi once went up to the attic in the study hall and saw two men having intercourse. They said to him, ‘Rabbi, make note that you are one and we are two.’” [Translation by Rabbi Steven Greenberg]
Time Period: Rabbinic (Maccabees through the Talmud)