Al-Dhahabī includes a woman’s imitation of men and a man’s imitation of women among the major sins in al-Kabāʾir (p. 129). After citing some of the aforementioned reports he writes:
“When a woman dons men’s dress—such as trousers, the faraj cloak, or garments with tight sleeves—she has adopted their attire and thus incurs the curse of Allah and His Messenger, as does her husband if he enables her to do so, is pleased with it, or fails to forbid it. He is charged with guiding her to obey Allah and restraining her from disobedience, in accordance with the divine command, ‘Shield yourselves and your families from a Fire whose fuel is people and stones’ (Q 66:6), and with the Prophet’s statement: ‘Each of you is a shepherd and each of you will be questioned about his flock; a man is a shepherd over his household and will be questioned about them on the Day of Resurrection.’ This report is agreed upon and is cited in Ghāyat al-Marām, 269.”
Al-Haytamī follows him on this point in al-Zawājir (1/126) and then remarks:
“Counting this among the major sins is manifest, given the sound hadiths you have just learned and the severe threat they contain. According to our authorities, there are two opinions regarding this imitation,”