In the Bahá'í writings, the purpose of prayer is to get closer to God and to Bahá'u'lláh and to help better their own conduct and to request divine assistance.
The Bahá'í teachings state that individual prayer should be performed when one is alone, and when free of distractions such as early in the morning or late at night.