Muhammad bin Sirin (may Allah have mercy on him) narrates that Sayyiduna Anas (may Allah be pleased with him) was asked about the dyeing of the Messenger of Allah (peace and blessings be upon him), so he mentioned it, and at the end of it he said: "On the day of the Conquest of Makkah, Sayyiduna Abu Bakr (may Allah be pleased with him) brought his father Abu Quhafah (may Allah be pleased with him) to the Messenger of Allah (peace and blessings be upon him), and the Messenger of Allah (peace and blessings be upon him) said: 'If you had let this elder stay in his house, we would have come to him ourselves out of honour for Abu Bakr.' He said: Then he accepted Islam, and his beard and head were white like thughamah. He said: So the Messenger of Allah (peace and blessings be upon him) said: 'Change them both, and keep them away from black dye.'"
Imam Ahmad (may Allah have mercy on him) narrated it in his Musnad from Muhammad bin Salamah al-Harrani.
And Abu Hatim Ibn Hibban (may Allah have mercy on him) narrated it in his book through Muhammad bin Ishaq al-Thaqafi from al-Hasan bin Ahmad bin Abi Shu'ayb.
It has a supporting narration (shahid) in the Sahih (Muslim) from the hadith of Sayyiduna Jabir bin Abdullah (may Allah be pleased with them both).