Amr bin Shu'ayb narrates from his father, and he from his grandfather (may Allah be pleased with him), that the Messenger of Allah (peace and blessings be upon him) said: "Do not pluck out white hairs, for there is no Muslim whose hair turns white in (the state of) Islam except that Allah, the Lord of Might, records a good deed for him and erases a sin."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب القسم والنشوز / 14828