Saṃyutta Nikāya 4
Connected Discourses with Mara
13. The Splinter
Thus have I heard. On one occasion the Blessed One was dwelling at Rajagaha in the Maddakucchi Deer Park. Now on that occasion the Blessed One’s foot had been cut by a stone splinter. Severe pains assailed the Blessed One—bodily feelings that were painful, racking, sharp, piercing, harrowing, disagreeable. But the Blessed One endured them, mindful and clearly comprehending, without becoming distressed. Then the Blessed One had his outer robe folded in four, and he lay down on his right side in the lion posture with one leg overlapping the other, mindful and clearly comprehending.
The Blessed One:
“I do not lie awake in dread,
Nor am I afraid to sleep.
The nights and days do not afflict me,
I see for myself no decline in the world.
Therefore I can sleep in peace,
Full of compassion for all beings.”
Then Mara the Evil One … disappeared right there.