Sayyiduna Anas bin Malik (may Allah be pleased with him) said: The Messenger of Allah (peace and blessings be upon him) came to Madinah when I was ten years old, and when he (peace and blessings be upon him) passed away I was twenty years old.
Hadith Referenceالمعجم الكبير للطبراني / باب الألف / 701