Jami` at-Tirmidhi, Book 49, Hadith 112 (Tirmidhi 3809)

Narrated Al-Bara bin 'Azib:

that the Prophet (ﷺ) said to 'Ali bin Abi Talib: "You are from me, and I am from you." And there is a story along with this Hadith.