Sayyiduna Abu Hurayrah (may Allah be pleased with him) said: The Messenger of Allah (peace and blessings be upon him) said: "Whoever loves them both has loved me, and whoever hates them has hated me," meaning Hasan and Husayn.
Hadith Referenceالمعجم الكبير للطبراني / باب الحاء / 2634