Is it acceptable to offer funeral prayer for someone who has committed suicide?

Yes. At the time of the Prophet, peace be upon him, a man killed himself. After he was prepared for burial, he was brought to the mosque for the final prayer for the deceased, i.e. “Janazah”. The Prophet, peace be upon him, told his companions who were present to offer that prayer for the dead man, but he himself did not join them. Scholars agree that prayer for the deceased may be offered for a person who had killed himself, but the ruler of the Islamic State should not be the one who leads the prayer. The questions with regard to the status of a person who has committed suicide arises from the fact that suicide is a grave sin, which no Muslim should contemplate. We have some reports, which equate it with denying the faith altogether.

In a Qudsi Hadith, the Prophet, peace be upon him, reports that God says: “My servant has affronted Me with an assault on his life, and, therefore, I banish him from heaven.”

This is certainly true, but we cannot put ourselves in a position where we judge people so as to decide who is believer and who is not. How can we tell that the person who has committed suicide was in full command of his senses, when he ended his life with his own hands? In many cases, a person kills himself as a result of suffering a severe mental disturbance. It is, therefore, God who judges him. As far as we are concerned, we treat him, as we knew him. If he was a Muslim, we offer “Janazah” prayer for him, with a sincere supplication to forgive him.