In those days, the Blessed One was living in the Sakyan Kingdom, in the city of Kapilavatthu, at Nigrodha Monastery. One day, Mahānāma the Sakyan, went to the Buddha… The Buddha said to Mahānāma the Sakyan, “Mahānāma, a noble disciple who has four factors is a stream-enterer, not liable to be reborn in the lower worlds and is headed towards Nibbāna.
“What four? It’s when a noble disciple has unshakable confidence in the Buddha… the Dhamma… the Saṅgha… and he has the virtue loved by the noble ones… leading to concentration. A noble disciple who has these four factors is a stream-enterer, not liable to be reborn in the lower worlds and is headed towards Nibbāna.”