Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
darimi:261Yaʿlá > Muḥammad b. ʿAwn > Ibrāhīm b. ʿĪsá

[Machine] Ibn Mas'ood said: "Do not seek knowledge for three reasons: to argue with fools, to debate with scholars, and to attract people's attention towards yourselves. Seek with your words what is with Allah, for it will endure and remain, while everything else will eventually perish."  

الدارمي:٢٦١أَخْبَرَنَا يَعْلَى حَدَّثَنَا مُحَمَّدُ بْنُ عَوْنٍ عَنْ إِبْرَاهِيمَ بْنِ عِيسَى قَالَ قَالَ

ابْنُ مَسْعُودٍ «لَا تَعَلَّمُوا الْعِلْمَ لِثَلَاثٍ لِتُمَارُوا بِهِ السُّفَهَاءَ وَتُجَادِلُوا بِهِ الْعُلَمَاءَ وَلِتَصْرِفُوا بِهِ وُجُوهَ النَّاسِ إِلَيْكُمْ وَابْتَغُوا بِقَوْلِكُمْ مَا عِنْدَ اللَّهِ فَإِنَّهُ يَدُومُ وَيَبْقَى وَيَنْفَدُ مَا سِوَاهُ»