Sunan Ibn Majah · Hadith 148
The Book of the Sunnah - كتاب المقدمة
حدثنا علي بن محمد، حدثنا وكيع، عن سفيان، عن داود بن أبي عوف أبي الجحاف، - وكان مرضيا - عن أبي حازم، عن أبي هريرة، قال قال رسول الله صلى الله عليه وسلم " من أحب الحسن والحسين فقد أحبني ومن أبغضهما فقد أبغضني " .
It was narrated that Abu Hurairah said: "The Messenger of Allah said: 'Whoever loves Hasan and Husain, loves me; and whoever hates them, hates me.'"
Gradings are classical jarḥ-wa-taʿdīl, name-matched to a rijāl index (not individually re-verified).