Sahih Muslim — The Book of Prayer - Funerals — Hadith No: 2262
Translation
Jabir b. Samura reported:(The dead body) of a person who had killed himself with a broad-headed arrow was brought before the Messenger of Allah (ﷺ), but he did not offer prayers for him