وَعَن ابْن عَبَّاس قَالَ: لعن الله الْمُخَنَّثِينَ مِنَ الرِّجَالِ وَالْمُتَرَجِّلَاتِ مِنَ النِّسَاءِ وَقَالَ: «أخرجوهم من بُيُوتكُمْ» . رَوَاهُ البُخَارِيّ
Ibn ‘Abbas said the Prophet cursed the mukhannaths among men and the women who imitated men, saying, “Put them out of your houses.”
Bukhari transmitted it.
Ibn ‘Umar told that when the Prophet saw a boy with part of his head shaved and part left unshaven he forbade them to do that, saying, ‘‘Shave it al or leave it all."
Muslim transmitted it.
Nafi‘ quoted Ibn ‘Umar as saying he had heard the Prophet forbidding qaza'. Nafi' was asked what qaza’ was and replied that it was having part of a boy’s head shaved arid leaving part unshaven.
(Bukhari and Muslim.) Some made the explanation a part of the tradition.