Hadithcore
Hadith #2114820

Arfajah bin Shuraih (RAA) narrated, ‘I heard the Messenger of Allah (ﷺ) say, “He who comes to you when you are united and wants to disunite your community, kill him.” Related by Muslim.

وَعَنْ عَرْفَجَةَ بْنِ شُرَيْحٍ: سَمِعْتُ رَسُولَ اَللَّهِ ‏- صلى الله عليه وسلم ‏-يَقُولُ: { مَنْ أَتَاكُمْ وَأَمَرَكُمْ جَمِيعٌ, يُرِيدُ أَنْ يُفَرِّقَ جَمَاعَتَكُمْ, فَاقْتُلُوهُ } أَخْرَجَهُ مُسْلِمٌ .‏ [1]‏ .‏

References2 variants
Sunnah.com reference
Book 9, Hadith 40
Arabic/English book reference
Book 9, Hadith 1236