It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) saw a man who had changed the colour of his white hair, so he (peace and blessings be upon him) said: "This is good." Then he (peace and blessings be upon him) saw another man who had dyed his beard red, and said: "This is better than the first." Then he (peace and blessings be upon him) saw another man who had dyed his beard yellow, and said: "This is better than all of these."
Imam Abu Dawud (may Allah have mercy on him) narrated it through Uthman bin Abi Shaybah, from Ishaq bin Mansur al-Saluli, from Muhammad bin Talhah.
And Imam Ibn Majah (may Allah have mercy on him) narrated it through Abu Bakr bin Abi Shaybah, from Ishaq bin Mansur, with the same chain, with a similar meaning.