Śūraṅgama Sūtra
In the "Śūraṅgama Sūtra", the bodhisattva Mahāsthāmaprāpta tells how the practice of nianfo enabled him to obtain samādhi.