Narrated Ibn 'Abbas: The Messenger of Allah (ﷺ) cursed the women who imitate men and the men who imitate women.

حَدَّثَنَا مَحْمُودُ بْنُ غَيْلَانَ، حَدَّثَنَا أَبُو دَاوُدَ الطَّيَالِسِيُّ، حَدَّثَنَا شُعْبَةُ، وَهَمَّامٌ، عَنْ قَتَادَةَ، عَنْ عِكْرِمَةَ، عَنِ ابْنِ عَبَّاسٍ، قَالَ:‏‏‏‏ لَعَنَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ الْمُتَشَبِّهَاتِ بِالرِّجَالِ مِنَ النِّسَاءِ، ‏‏‏‏‏‏وَالْمُتَشَبِّهِينَ بِالنِّسَاءِ مِنَ الرِّجَالِ ، ‏‏‏‏‏‏قَالَ أَبُو عِيسَى:‏‏‏‏ هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ.

Explanation
تفسير الحديث

This hadith narrated by Ibn Abbas (may Allah be pleased with him) mentions that the Messenger of Allah (peace be upon him) cursed women who imitate men and men who imitate women. It signifies that the Prophet (peace be upon him) condemned the phenomenon where some women adopt masculine traits or behaviors and vice versa for men aiming to feminize themselves in appearance or behavior. The hadith emphasizes the importance of adhering to the appearance and behavior appropriate to one's gender, as the distinction between roles and appearances of men and women is part of the nature and fitrah that Allah has created us upon. Therefore, the Prophet (peace be upon him) warned against attempts to change these roles, as they can lead to confusion in social concepts and moral values. This hadith also underscores the call for the Islamic society to respect and adhere to the traditional roles of both men and women, reflecting the significance of maintaining the gender identity of individuals within the community.

هذا الحديث يروي عن ابن عباس رضي الله عنهما، حيث لعن النبي صلى الله عليه وسلم المتشبهات من النساء بالرجال، وكذلك المتشبهين من الرجال بالنساء. يعني الحديث أن النبي صلى الله عليه وسلم قد أدان الظاهرة التي يحاول فيها بعض النساء أن يكتسبن خصائص أو مظاهر ذكورية، وكذلك الرجال الذين يحاولون ت feminine (تأنيث) أنفسهم في مظهر الملابس أو السلوك. ويُظهر الحديث أهمية الالتزام بالمظهر والسلوك الذي يتناسب مع الجنس الذي ينتمي إليه الشخص، حيث أن التمييز بين الأدوار والمظاهر بين الرجال والنساء جزء من الفطرة والطبيعة التي خلقنا الله عليها. ولذا كان النبي صلى الله عليه وسلم يحذر من محاولة تغيير هذه الأدوار، لأنها تؤدي إلى ارتباك في المفاهيم الاجتماعية والقيم الأخلاقية. هذا الحديث يبرز أيضًا استدعاء المجتمع الإسلامي إلى احترام والتزام بالأدوار التقليدية لكل من الرجال والنساء، ويعكس أهمية الحفاظ على الهوية الجنسية لأفراد المجتمع.

Source: Jami' Al-Tirmidhi by Abu `Isa Muhammad at-Tirmidhi