Sahih Bukhari Volume 001, Book 003, Hadith Number 073.
Narated By 'Abdullah bin Mas'ud : The Prophet said, "Do not wish to be like anyone except in two cases. (The first is) A person, whom Allah has given wealth and he spends it righteously; (the second is) the one whom Allah has given wisdom (the Holy Qur'an) and he acts according to it and teaches it to others." (Fateh-al-Bari page 177 Vol. 1)