Translation:Mikraot Gedolot/Deuteronomy/22:5

Text
There shall not be clothing of a man on a woman, and a man shall not wear a garment of a woman, for abominable before God your Lord he is, whoever does these [things].

Rashi
There shall not be clothing of a man on a woman

(Sifre, Nazir Chapter 8) That she shall be like a man, in order that she shall go between the men, for this is only for the sake of adultery.

And a man shall not wear a garment of a woman

To go and sit between the women. Another explanation, that he shall not …

For abominable

The Torah only forbade a garment which brings to abomination.