The Messenger of Allah ﷺ said, "Insulting a Muslim is wickedness, and fighting him is disbelief."
أخبرنا محمود بن غيلان قال حدثنا معاوية قال حدثنا سفيان عن منصور عن أبي وائل
قال رسول الله ﷺ سباب المسلم فسوق وقتاله كفر
[Sahih] Previously mentioned, no. 4114, and it is in Sunan al-Kubra, no. 3576.