Sahih al-Bukhari 1365
Book 23: Funerals (Al-Janaa'iz) · Narrated by Abu Huraira-
Arabic
حَدَّثَنَا أَبُو الْيَمَانِ، أَخْبَرَنَا شُعَيْبٌ، حَدَّثَنَا أَبُو الزِّنَادِ، عَنِ الأَعْرَجِ، عَنْ أَبِي هُرَيْرَةَ ـ رضى الله عنه ـ قَالَ قَالَ النَّبِيُّ صلى الله عليه وسلم " الَّذِي يَخْنُقُ نَفْسَهُ يَخْنُقُهَا فِي النَّارِ، وَالَّذِي يَطْعُنُهَا يَطْعُنُهَا فِي النَّارِ ".
English translation
Narrated Abu Huraira-:The Prophet (ﷺ) said, "He who commits suicide by throttling shall keep on throttling himself in the Hell Fire (forever) and he who commits suicide by stabbing himself shall keep on stabbing himself in the Hell-Fire
Reference: Sahih al-Bukhari 1365, Book of Funerals (Al-Janaa'iz). English translation by Dr. Muhammad Muhsin Khan.