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.
ibnmajah:162ʿAlī b. Muḥammad And ʿAmrū b. ʿAbdullāh > Wakīʿ > Sufyān > Nusayr b. Dhuʿlūq

"Ibn 'Umar used to say: 'Do not revile the Companions of Muhammed, for the stay of anyone of them for a brief period (with the Prophet) is better than all the good deeds that anyone of you does in his lifetime.'"  

ابن ماجة:١٦٢حَدَّثَنَا عَلِيُّ بْنُ مُحَمَّدٍ وَعَمْرُو بْنُ عَبْدِ اللَّهِ قَالاَ حَدَّثَنَا وَكِيعٌ قَالَ حَدَّثَنَا سُفْيَانُ عَنْ نُسَيْرِ بْنِ ذُعْلُوقٍ قَالَ

كَانَ ابْنُ عُمَرَ يَقُولُ لاَ تَسُبُّوا أَصْحَابَ مُحَمَّدٍ ﷺ فَلَمَقَامُ أَحَدِهِمْ سَاعَةً خَيْرٌ مِنْ عَمَلِ أَحَدِكُمْ عُمْرَهُ  


See similar narrations below:

Collected by Suyūṭī
suyuti:108-40bal-Barāʾ
Request/Fix translation

  

السيوطي:١٠٨-٤٠b

"عَنِ الْبَرَاءِ قَالَ: لَا تَسُبُّوا أَصْحَابَ رَسُولِ الله ﷺ فَوَالَّذِي نَفْسِي بِيَدِهِ لَمُقَامُ أَحَدِهِمْ مَعَ رَسُولِ الله ﷺ أَفْضَلُ مِنْ عَمَلِ أَحَدِكُم عُمُرَهُ".  

[كر] ابن عساكر في تاريخه