Suicide in Islam

Q: What does Islam say about a person committing suicide because of black magic? I know suicide is haraam in Islam, but if the person who committed suicide was a really pious man, prayed five times a day and lived his whole life according to Islam, but in the last month of his life, he started seeing things who were telling him to take his life, not to pray and eventually he took his life, then what is his status?