The Messenger of Allah (may Allah's peace and blessings be upon him) cursed the man who wears women's clothes and the woman who wears men's clothes
عن أبي هريرة رضي الله عنه قال: لعن رسول الله صلى الله عليه وسلم الرجل يلبس لِبْسَةَ المرأة، والمرأة تلبس لِبْسَةَ الرجل.
Abu Hurayrah (may Allah be pleased with him) reported: The Messenger of Allah (may Allah's peace and blessings be upon him) cursed the man who wears women's clothes and the woman who wears men's clothes.
Narrated by An-Nasā’i in Al-Kubra and Ibn Mājah with a similar meaning and by AhmadGradeAuthentic
Explanation
The Prophet (may Allah's peace and blessings be upon him) supplicated with expulsion and dismissal from Allah's mercy for any man who imitates women in their peculiar clothing, whether in appearance, color, style, manner of dressing, adornment, or anything else. Or for a woman to imitate men in their peculiar clothing as well, and this is considered a major sin.
Benefits
Ash-Shawkāni said: The prohibition of women imitating men and men imitating women because there is no curse except for prohibited acts.
Ibn ‘Uthaymīn said: What is common between them, like certain shirts worn by both men and women, is permissible, i.e., it is fine for both men and women to wear it, as it is common.
Reference
سنن أبي داود (6/ 195) (4098).
السنن الكبرى للنسائي (8/ 297) (9209).
سنن ابن ماجه (3/ 95) (1903).
مسند أحمد (14/ 61) (8309).
نزهة المتقين، لمجموعة من الباحثين (2/ 1122).
كنوز رياض الصالحين، لمجموعة من الباحثين (19/ 337).
بهجة الناظرين، لسليم الهلالي (3/ 150).
شرح رياض الصالحين، لابن عثيمين (6/ 370).
Every ḥadīth, grade, explanation and benefit here is shown exactly as HadeethEnc.com publishes it, under its terms for republication. The grade names no grader. The translations and explanations are its authors’ own, and some state rulings; Sabīl’s reviewers have not examined them. The Arabic ḥadīth is the text. Source: HadeethEnc.com