The Book of Funerals
21/68. Chapter:
Not Offering The Funeral Prayer For The One Who Killed Himself.
Sunan an-Nasai
أَخْبَرَنَا إِسْحَاقُ بْنُ مَنْصُورٍ، قَالَ أَنْبَأَنَا أَبُو الْوَلِيدِ، قَالَ حَدَّثَنَا أَبُو خَيْثَمَةَ، زُهَيْرٌ قَالَ حَدَّثَنَا سِمَاكٌ، عَنِ جَابِرِ بْنِ سَمُرَةَ، أَنَّ رَجُلاً، قَتَلَ نَفْسَهُ بِمَشَاقِصَ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " أَمَّا أَنَا فَلاَ أُصَلِّي عَلَيْهِ " .
It was narrated from Jabir bin Samurah that: a man killed himself with an arrowhead and the Messenger of Allah said: "As for me, I will not pray for him."
Reference : Sunan an-Nasa'i 1964In-book reference : Book 21, Hadith 147English translation : Vol. 3, Book 21, Hadith 1966