Mental health is part of the well being of the soul, and in Islam a person who with good mental health is one who benefits from the realities of faith and wisdom. Through their relationship of trust in God and faith in Him, His Wisdom and His Kindness, there is nothing from the transient world that can break him/her. It is through their relationship with God that they find peace and solace, hope and tranquillity. Their hearts are enlivened and their minds are active. Their actions are measured with the insight into both worlds and their lives are beautiful and successful due to their attitudes and actions.
The well being of the soul is discussed extensively in the scriptural sources (Qur'an and hadith) and is also discussed in the fields of ethics, philosophy and theoretical and practical mysticism.
May you always be successful