Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
abudawud:4190Muḥammad b. al-ʿAlāʾ > Muʿāwiyah b. Hishām And Sufyān b. ʿUqbah al-Suwāʾī > Akhū Qabīṣah Waḥumayd b. Khuwār > Sufyān al-Thawrī > ʿĀṣim b. Kulayb from his father > Wāʾil b. Ḥujr

I came to the Prophet ﷺ and I had long hair. When the Messenger of Allah ﷺ saw me, he said: Evil, evil! He said: I then returned and cut them off. I then came to him in the morning. He said (to me): I did not intend to do evil to you. This is much better.  

أبو داود:٤١٩٠حَدَّثَنَا مُحَمَّدُ بْنُ الْعَلاَءِ حَدَّثَنَا مُعَاوِيَةُ بْنُ هِشَامٍ وَسُفْيَانُ بْنُ عُقْبَةَ السُّوَائِيُّ هُوَ أَخُو قَبِيصَةَ وَحُمَيْدُ بْنُ خُوَارٍ عَنْ سُفْيَانَ الثَّوْرِيِّ عَنْ عَاصِمِ بْنِ كُلَيْبٍ عَنْ أَبِيهِ عَنْ وَائِلِ بْنِ حُجْرٍ قَالَ

أَتَيْتُ النَّبِيَّ ﷺ وَلِي شَعْرٌ طَوِيلٌ فَلَمَّا رَآنِي رَسُولُ اللَّهِ ﷺ قَالَ ذُبَابٌ ذُبَابٌ قَالَ فَرَجَعْتُ فَجَزَزْتُهُ ثُمَّ أَتَيْتُهُ مِنَ الْغَدِ فَقَالَ إِنِّي لَمْ أَعْنِكَ وَهَذَا أَحْسَنُ  


See similar narrations below:

Collected by Ibn Mājah
ibnmajah:3636Abū Bakr b. Abū Shaybah > Muʿāwiyah b. Hishām And Sufyān b. ʿUqbah > Sufyān > ʿĀṣim b. Kulayb from his father > Wāʾil b. Ḥujr

“The Prophet ﷺ saw me when I had long hair. He said: ‘Bad news, bad news!’ So I went away and cut it short. Then the Prophet ﷺ saw me and said: ‘I did not mean you, but this is better.’”  

ابن ماجة:٣٦٣٦حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ حَدَّثَنَا مُعَاوِيَةُ بْنُ هِشَامٍ وَسُفْيَانُ بْنُ عُقْبَةَ عَنْ سُفْيَانَ عَنْ عَاصِمِ بْنِ كُلَيْبٍ عَنْ أَبِيهِ عَنْ وَائِلِ بْنِ حُجْرٍ قَالَ

رَآنِيَ النَّبِيُّ ﷺ وَلِي شَعَرٌ طَوِيلٌ فَقَالَ ذُبَابٌ ذُبَابٌ فَانْطَلَقْتُ فَأَخَذْتُهُ فَرَآنِيَ النَّبِيُّ ﷺ فَقَالَ إِنِّي لَمْ أَعْنِكَ وَهَذَا أَحْسَنُ