Jabir reported the Messenger of Allah (May peace be upon him) as saying : Between a servant and unbelief there is the abandonment of prayer.
Prayer helps us stay connected with Allah and strengthens our relationship with Him through remembrance and supplication. It also helps us become more mindful about our actions throughout the day since we have to take time out from our daily lives in order to pray five times a day according to Islamic teachings. Furthermore, prayer can help us become better people by teaching us patience, humility, gratitude, discipline etc., which are all essential qualities for leading a successful life both on earth and in the hereafter.