Sahih al-Bukhari 7316
Book 96: Holding Fast to the Qur'an and Sunnah · Hadith 47
Hadith text
Narrated `Abdullah:Allah's Messenger (ﷺ) said, "Do not wish to be like anybody except in two cases: The case of a man whom Allah has given wealth and he spends it in the right way, and that of a man whom Allah has given religious wisdom (i.e., Qur'an and Sunna) and he gives his verdicts according to it and teaches it." (to others i.e., religious knowledge of Qur'an and Sunna (Prophet's Traditions)
Abdullah bataate hain: Allah ke Rasool (SAW) ne farmaya, 'Kisi jaisa banne ki tamanna mat karo siwaaye do maamlon mein: ek us aadmi ki jise Allah ne daulat di hai aur wo use sahi tareeke se kharch karta hai, aur doosra us aadmi ki jise Allah ne deeni hikmat (yaani Quran aur Sunnat) di hai aur wo usi ke mutaabik faisla deta hai aur ise (doosron ko) sikhaata hai.'
Sahih al-Bukhari 7316 · Book 96, Hadith 47
Read all hadith in Book 96: Holding Fast to the Qur'an and Sunnah