The Prophet ﷺ said, "Whoever swears by a religion other than Islam, lying intentionally, will be as he said, and whoever kills himself with something, Allah will torment him with it in the fire of Hell." This is the wording of Sufyan's narration.As for Shuba's narration, it is that the Messenger of Allah ﷺ said, "Whoever swears by a religion other than Islam, lying, will be as he said, and whoever slaughters himself with something will be slaughtered with it on the Day of Resurrection."
حدثنا إسحق بن إبراهيم وإسحق بن منصور وعبد الوارث بن عبد الصمد كلهم عن عبد الصمد بن عبد الوارث عن شعبة عن أيوب عن أبي قلابة عن ثابت بن الضحاك الأنصاري ح و حدثنا محمد بن رافع عن عبد الرزاق عن الثوري عن خالد الحذاء عن أبي قلابة
قال النبي ﷺ من حلف بملة سوى الإسلام كاذبا متعمدا فهو كما قال ومن قتل نفسه بشيء عذبه الله به في نار جهنم هذا حديث سفيان وأما شعبة فحديثه أن رسول الله ﷺ قال من حلف بملة سوى الإسلام كاذبا فهو كما قال ومن ذبح نفسه بشيء ذبح به يوم القيامة