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