Itivuttaka 33
This was said by the Blessed One, said by the Arahant, so I have heard: “Endowed with two things, monks, a person–as if carried off–is thus placed in heaven. Which two? Auspicious habits & auspicious views. Endowed with these two things, a person–as if carried off–is thus placed in heaven.”
Auspicious habits & auspicious views: a person, discerning, endowed with these two things, at the break-up of the body reappears in heaven.
https://www.dhammatalks.org/suttas/KN/Iti/iti33.html
Copyright: https://creativecommons.org/licenses/by-nc/4.0/ The author of www.dhammatalks.org also states: “There is some uncertainty about the meaning of ‘Commercial’ with regard to the CC NonCommercial License. For example, some consider the sale of content to support a non-profit entity to be ‘NonCommercial.’ The author and copyright holder of the content on this site considers any sale, including by non-profit entities for non-profit purposes, to be ‘Commercial’ and a copyright violation.“