Parshas Naso · Passuk 5:20
But if you have gone astray while under your husband’s authority, and have defiled yourself, and a man other than your husband has lain with you…
Torah Temimah points to Sifrei (Planning2 / Sefaria TT segment 3).
Sefaria — Torah Temimah on Numbers 5:20.3
Lemma: וכי נטמאת.
Category B — Inclusion of unnatural relations.
From “וכי נטמאת” the source includes relations that are not the natural way.