حَدَّثَنَا بِشْرُ بْنُ مُعَاذٍ الضَّرِيرُ، حَدَّثَنَا حَمَّادُ بْنُ زَيْدٍ، وَأَبُو عَوَانَةَ عَنْ عَمْرِو بْنِ دِينَارٍ، عَنْ طَاوُسٍ، عَنِ ابْنِ عَبَّاسٍ، قَالَ قَالَ النَّبِيُّ ـ صلى الله عليه وسلم ـ ‏"‏ أُمِرْتُ أَنْ لاَ أَكُفَّ شَعْرًا وَلاَ ثَوْبًا ‏"‏ ‏.‏
Translation
Mukhawwal said

“I heard Abu Sa’d, a man from the people ofMadinah,say: ‘I saw Abu Rafi’, the freed slave of the Messengerof Allah(ﷺ), when he saw Hasan bin ‘Ali performing prayer, withhis hairbraided. He undid it, or told him not to do that, and said:“TheMessenger of Allah (ﷺ) forbade a man from performing prayerwith hishair braided.”