Funeral Prayer for one who committed suicide

A: The Funeral Prayer should be offered for one who committed suicide. However, the Muslim ruler should refrain from offering it for them, as the Prophet (peace be upon him) did not offer the Funeral Prayer for the man who had killed himself, to stress the gravity of this crime and warn against it.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.