Sayyiduna Abu al-Darda' (may Allah be pleased with him) narrates: The Prophet (peace and blessings be upon him) addressed us in a sermon and said: "May Allah Almighty keep radiant the person who hears these words of mine and conveys them, for sometimes a person who carries knowledge conveys it to someone who is more learned than himself. There are three things about which the heart of a Muslim does not harbour rancour: making one's deeds sincerely for Allah Almighty, sincere goodwill towards every Muslim, and keeping to the community of the Muslims, for their supplication encompasses those who are behind them (that is, those who are not with them)."
Al-Tabarani recorded it in al-Mu'jam al-Kabir; this report revolves around the narrator Abd al-Rahman bin Zubayd, who is munkar al-hadith (his narrations are rejected); Imam al-Bukhari (may Allah have mercy on him) stated this.
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب العلم / 583