Sunan Ibn Majah, Book 32, Hadith 75 (Ibn Majah 3626)

It was narrated from Jabir that he said:

“Abu Quhaifah was brought to the Prophet (ﷺ) on the Day of the Conquest (of Makkah), and his head was all white. The Messenger of Allah (ﷺ) said: ‘Take him to some of his womenfolk and let them change this, but avoid black.’”