Abdullah bin Masud reported,

The Messenger of Allah ﷺ delivered a sermon in this mosque, the Mosque of Khayf, and said, "May Allah brighten the face of a person who hears my words, memorizes them, and conveys them to others. Many a bearer of knowledge carries it to one who has greater understanding than himself, and many a bearer of knowledge is not himself a person of understanding.Three things over which the heart of a Muslim shall harbor no malice: sincerity in deeds for Allah, giving sincere counsel to those in authority, and adhering to the community of Muslims, for their call encompasses those behind them."

Azami 1152

Sahih

عن عبد الله بن مسعود، قال

خطب رسول الله ﷺ في هذا المسجد- مسجد الخيف- فقال: نضر الله امرءا سمع مقالتي هذه-فحفظها حتى يبلغه غيره، فرب حامل فقه إلى من هو أفقه منه، ورب حامل فقه غير فقيه. ثلاث لا يغل عليهن قلب امرئ مسلم: إخلاص العمل الله، والنصيحة لولاة الأمر، ولزوم جماعتهم، فإن دعوتهم تحيط من ورائهم.

الأعظمي 1152صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Knowledge
Chapter
Encouragement to seek knowledge
Section
Encouragement to hear hadith and convey it
Numbering
Jami al-Kamil 1152 (2nd edition)
Azami 1152