Sunan an-Nasa'i, Book 48, Hadith 197 (Nasa'i 5245)

It was narrated that Jabir bin 'Abdullah said:

"The Prophet came to us and saw a man with wild hair. He said: 'Could this man not find anything with which to calm down his hair?'"