He said that the Prophet ﷺ looked at Ali, Hasan, Husayn, and Fatimah and said, "I am at war with whoever wages war against you, and at peace with whoever is at peace with you."
حدثنا تليد بن سليمان قال حدثنا أبو الحجاف عن أبي حازم
قال نظر النبي ﷺ إلى علي والحسن والحسين وفاطمة فقال أنا حرب لمن حاربكم وسلم لمن سالمكم
Its isnad is daif because of Talid bin Sulayman, who is a rafidi and daif, and Abul-Jahhaf Dawud bin Abu Awf is truthful but a shia, and the hadith supports the shia position. However, its text was narrated by Tirmidhi, 5/699, number 3870, in the Book of Virtues, on the merit of Fatimah, where he said it is unfamiliar (gharib). Hakim, 3/149, said it is hasan, transmitting it through the route of Qutayi from Ahmad, while Dhahabi remained silent, and he also cited Tirmidhi's hadith and likewise remained silent about it. The hadith is also found in Ibn Hibban, 2244 in Mawarid, in Ibn Abu Shayba, 2/96, and in Tabarani's Kabir, 3/31 and 5/207.