Reciting the Scriptures at the First Compilation
After the Buddha’s passing, the disciple Mahakashyapa gathered five hundred arhats for a compilation to set in order the Buddha’s lifetime of teaching. Ananda, at first not permitted to take part as he had not yet attained arhatship, practiced diligently and attained it overnight, and was thus able to recite from memory the whole of the Buddha’s discourses before the assembly, which, confirming them, compiled them into the "basket of discourses" — the beginning of the transmission of the Buddhist scriptures.