Sunan Ibn Majah 162
The Book of the Sunnah
حَدَّثَنَا عَلِيُّ بْنُ مُحَمَّدٍ، وَعَمْرُو بْنُ عَبْدِ اللَّهِ، قَالاَ حَدَّثَنَا وَكِيعٌ، قَالَ حَدَّثَنَا سُفْيَانُ، عَنْ نُسَيْرِ بْنِ ذُعْلُوقٍ، قَالَ كَانَ ابْنُ عُمَرَ يَقُولُ لاَ تَسُبُّوا أَصْحَابَ مُحَمَّدٍ ـ صلى الله عليه وسلم ـ فَلَمَقَامُ أَحَدِهِمْ سَاعَةً خَيْرٌ مِنْ عَمَلِ أَحَدِكُمْ عُمْرَهُ .
It was narrated that Nusair bin Dhu'luq said:"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
Grading: Al-Albani: Hasan · Muhammad Fouad Abd al-Baqi: Hasan · Zubair Ali Zai: Sahih
Text from the public-domain hadith-api dataset. Numbering follows that dataset and can differ by a few from some printed editions — check the wording, not only the number.