It wasnarrated that Wa'il bin Hujr said:
"The Prophet (ﷺ) saw mewhenI had long hair. He said: 'Bad news, bad news!' So I went awayand cut it short. Then the Prophet (ﷺ) saw me and said: 'I didnotmean you, but this is better.'" (ID)
English reference (ID): Vol. 4, Book 32, Hadith 3636 (ID)
Arabic reference (ID): Book 32, Hadith 3767 (ID)