Abdullah bin Mughafal reported,

The Messenger of Allah ﷺ said, "Fear Allah, fear Allah regarding my companions. Fear Allah, fear Allah regarding my companions. Do not make them targets after me. Whoever loves them, loves them out of love for me, and whoever hates them, hates them out of hatred for me. Whoever harms them has harmed me, and whoever harms me has harmed Allah, and whoever harms Allah, He is about to seize him."

Tirmidhi 3862

Daif

حدثنا محمد بن يحيى حدثنا يعقوب بن إبراهيم بن سعد حدثنا عبيدة بن أبي رائطة عن عبد الرحمن بن زياد

عن عبد الله بن مغفل قال

قال رسول الله ﷺ الله الله في أصحابي الله الله في أصحابي لا تتخذوهم غرضا بعدي فمن أحبهم فبحبي أحبهم ومن أبغضهم فببغضي أبغضهم ومن آذاهم فقد آذاني ومن آذاني فقد آذى الله ومن آذى الله يوشك أن يأخذه

الترمذي 3862ضعيف
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Virtues
Chapter
Regarding those who insult the companions of the Prophet ﷺ
Numbering
Darussalam 3862
Tirmidhi 3862