Sunan Ibn Majah, Book 1, Hadith 235 (In-Book)

It was narrated from Zaid bin Thabit that: The Messenger of Allah said: "May Allah cause his face to shine, the man who hears what I say and conveys it (to others). There are those who have knowledge but no understanding, and there may be those who convey knowledge to those who have more understanding of it than they do.' " (One of the narrators) 'Ali bin Muhammed added to it: "There are three things because of which hatred does not enter the heart of a Muslim: Sincerity in doing an action for the sake of Allah; being sincere towards the rulers of the Muslims; and adhering to the Jama'ah (main body of the Muslims."

حَدَّثَنَا مُحَمَّدُ بْنُ عَبْدِ اللَّهِ بْنِ نُمَيْرٍ، وَعَلِيُّ بْنُ مُحَمَّدٍ، قَالاَ حَدَّثَنَا مُحَمَّدُ بْنُ فُضَيْلٍ، حَدَّثَنَا لَيْثُ بْنُ أَبِي سُلَيْمٍ، عَنْ يَحْيَى بْنِ عَبَّادٍ أَبِي هُبَيْرَةَ الأَنْصَارِيِّ، عَنْ أَبِيهِ، عَنْ زَيْدِ بْنِ ثَابِتٍ، قَالَ قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ ‏"‏ نَضَّرَ اللَّهُ امْرَأً سَمِعَ مَقَالَتِي فَبَلَّغَهَا فَرُبَّ حَامِلِ فِقْهٍ غَيْرِ فَقِيهٍ وَرُبَّ حَامِلِ فِقْهٍ إِلَى مَنْ هُوَ أَفْقَهُ مِنْهُ ‏"‏ ‏.‏ زَادَ فِيهِ عَلِيُّ بْنُ مُحَمَّدٍ ‏"‏ ثَلاَثٌ لاَ يُغِلُّ عَلَيْهِنَّ قَلْبُ امْرِئٍ مُسْلِمٍ إِخْلاَصُ الْعَمَلِ لِلَّهِ وَالنُّصْحُ لأَئِمَّةِ الْمُسْلِمِينَ وَلُزُومُ جَمَاعَتِهِمْ ‏"‏ ‏.‏

sunnah.com