It was narrated that Hudhaifah said:
"I heard the Messenger of Allah say: 'Do not acquire knowledge in order to show off before the scholars, or to argue with the foolish, or to attract people's attention, for whoever does that will be in Hell.'"
English reference: Vol. 1, Book 1, Hadith 259
Arabic reference: Book 1, Hadith 270
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.