In reality, sin is one of the causes that deprive a person of the opportunity to perform the Night Prayer, not the sole cause. Yet it is not the case that sin, in itself and without qualification, deprives a person of this opportunity, for the Lord’s grace creates the conditions for the forgiveness of a person’s sins by opening the way to the Night Prayer. However, persistence in sin and failure to repent of it deprive a person of many other tremendous blessings as well. In fact, someone who is granted the opportunity to perform the Night Prayer should not imagine that he is entirely free of every act of disobedience.
عن أبی الحسن العسکری عن آبائه عن الصادق ع فی قوله تعالى إن الحسنات یذهبن السیئات قال صلاه اللیل تذهب بذنوب النهار
Bihār al-Anwār (Beirut edition), vol. 84, p. 143
Imam al-ʿAskarī, peace be upon him: “Indeed, good deeds erase evil deeds; the Night Prayer erases the sins of the day.”
Other causes that deprive a person of this opportunity include:
Failure to organise one’s life properly, such as not regulating one’s sleeping and waking hours.
Exhaustion from worldly and futile activities, amusement and diversion, and excessive concern with worldly life—in other words, becoming excessively attached to the world.
Overeating, as well as failing to observe appropriate mealtimes.
عیسى ع یا بنی إسرائیل لا تکثروا الأکل فإنه من أکثر الأکل أکثر النوم و من أکثر النوم أقل الصلاه و من أقل الصلاه کتب من الغافلین
Majmūʿah-yi Warrām, vol. 1, p. 47
Jesus, peace be upon him, said: “O Children of Israel! Do not eat excessively, for whoever eats more sleeps more; whoever sleeps more prays less; and whoever prays less is recorded among the heedless.”
Lacking a firm decision and serious determination to perform the Night Prayer. From the morning onward, one should plan and prepare both body and mind for performing the Night Prayer.
Self-admiration, which can take the form of conceit and pride in being granted the opportunity to perform the Night Prayer, thereby causing the withdrawal of divine mercies. The Night Prayer should intensify humility and reverence, not give rise to arrogance and pride.
And so on.