AHMAD 10872:
from Abūhurayrah —
[Machine] I heard Abu Hazim saying, "I was present on the day Al-Hasan died and he mentioned the story." Abu Hurairah then said, "I heard the Messenger of Allah ﷺ saying, 'Whoever loves them, has indeed loved me, and whoever hates them, has indeed hated me.'"
أحمد ١٠٨٧٢:
عن ابوهريره —
سَمِعْتُ أَبَا حَازِمٍ يَقُولُ إِنِّي لَشَاهِدٌ يَوْمَ مَاتَ الْحَسَنُ فَذَكَرَ الْقِصَّةَ فَقَالَ أَبُوهُرَيْرَةَ سَمِعْتُ رَسُولَ اللهِ ﷺ يَقُولُ مَنْ أَحَبَّهُمَا فَقَدْ أَحَبَّنِي وَمَنْ أَبْغَضَهُمَا فَقَدْ أَبْغَضَنِي
hadithunlocked.com