The Prophet ﷺ said during the Farewell Pilgrimage, "Woe to you," or he said, "Woe to you, do not revert to disbelief after me, striking the necks of one another."
حدثنا محمد بن جعفر حدثنا شعبة عن واقد بن محمد بن زيد أنه سمع أباه يحدث
عن النبي ﷺ أنه قال في حجة الوداع ويحكم أو قال ويلكم لا ترجعوا بعدي كفارا يضرب بعضكم رقاب بعض
Its isnad is sahih, and this is a longer version of the previous hadith. It is a repetition of 5578 with this same isnad.