The Prophet ﷺ said, "Cursing a Muslim is grave disobedience, and fighting him is disbelief."
حدثنا عبد الرحمن عن سفيان عن زبيد عن أبي وائل
عن النبي ﷺ قال سباب المسلم فسوق وقتاله كفر
Its isnad is sahih, and it is a repetition of 3957.