The Messenger of Allah ﷺ said to Ali, Fatimah, Hasan, and Husayn, "I am at peace with whoever is at peace with you, and at war with whoever wages war against you."
حدثنا الحسن بن علي الخلال وعلي بن المنذر قالا حدثنا أبو غسان حدثنا أسباط بن نصر عن السدي عن صبيح مولى أم سلمة
قال رسول الله ﷺ لعلي وفاطمة والحسن والحسين أنا سلم لمن سالمتم وحرب لمن حاربتم
Sourcing, [its chain of transmission is daif]. Related by Tirmidhi in the Book of Virtues, in the chapter on what has been said about the virtue of Fatimah, daughter of the Messenger of Allah, may Allah be pleased with her, hadith no. 3870, from the hadith of Asbat, through his own chain, and he said, "Gharib." Sabih, the freed slave of Umm Salama, is not well known, and no one has deemed him reliable except Ibn Hibban.