Heedfulness
Appamāda Sutta  (AN 4:116)

“Monks, there are four instances where heedfulness should be exercised. Which four? Abandon bodily misconduct, develop good bodily conduct: Don’t be heedless there. Abandon verbal misconduct, develop good verbal conduct: Don’t be heedless there. Abandon mental misconduct, develop good mental conduct: Don’t be heedless there. Abandon wrong view, develop right view: Don’t be heedless there.1

“When, in a monk, bodily misconduct is abandoned, good bodily conduct is developed; verbal misconduct is abandoned, good verbal conduct is developed; mental misconduct is abandoned, good mental conduct is developed; wrong view is abandoned, right view is developed, then he has no fear of death as it relates to the next life.”2

Notes

1. In MN 41, right view concerning kamma and rebirth is included under good mental conduct. The fact that right view is mentioned separately here may mean that, in this context, “right view” means right view as defined in the noble eightfold path, i.e., knowledge in terms of suffering, the origination of suffering, the cessation of suffering, and the path of practice leading to the cessation of suffering.

2. This seems to mean that, although one may fear the pain of death, one has no fear of where one will be reborn after death.