A Thai text relates that Mahākāśyapa knew through his meditation that he was about to die and attain "paranirvāṇa" on the next day. The day after, he informed his pupils of his death and taught them, then went for alms, wearing the robe he had received from the Buddha. In the texts on discipline from the Mūlasarvāstivāda tradition, it says he also went to pay his respects to the Buddha's relics. In several texts, he attempted to visit King Ajātaśatru, but the king was asleep. Mahākāśyapa then cleaned the monastery, and proceeded to Kukkuṭapāda, the place of burial he had selected. He gave a final teaching to the lay people, and performed supernatural accomplishments.