There is an account dating back from the Sarvāstivāda and Mūlasarvāstivāda textual traditions which states that before Mahākāśyapa died, he bestowed the Buddha's teaching on Ānanda as a formal passing on of authority, telling Ānanda to pass the teaching on to his pupil Śāṇakavāsī (; Śāṇakavāsin or Śāṇāvasika). Mahākāśyapa made a prediction that later would come true that a lay person called Śāṇakavāsī would make many gifts to the "saṅgha" during a feast. After this event, Ānanda would successfully persuade him to become ordained and be his pupil. Later, just before Ānanda died, he passed the teaching on to his pupil as Mahākāśyapa had told him to. Ray notes that Mahākāśyapa is depicted here as choosing not only his successor, but also the successor of his successor, which emphasizes the preeminent position that Mahākāśyapa was seen to have.