Mishkat al-Masabih
He reported God's Messenger as saying, “He who strangles himself will do so in hell, and he who thrusts a spear into himself will do so in hell.” Bukhari transmitted it.
وَعَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «الَّذِي يَخْنُقُ نَفْسَهُ يَخْنُقُهَا فِي النَّارِ وَالَّذِي يَطْعَنُهَا يَطْعَنُهَا فِي النَّارِ» . رَوَاهُ البُخَارِيّ
Reference