'Why Do We Pray?" is a phenomenal book by Dr. Suhaib Hasan. The author discusses why it is extremely important to pray, and how it works in an individual's favor to pray.
Verily, As-Salat (the prayer) prevents from Al-Fahsha (i.e. great sins of every kind, unlawful sexual intercourse, etc.) and Al-Munkar (i.e. disbelief, polytheism, and every kind of evil wicked deed, etc.) (29:45)