[49] Then the Blessed One, wandering by stages, arrived at Rājagaha. There the Blessed One dwelt at Rājagaha, in the Veḷuvana, at the Kalandakanivāpa (the squirrels' feeding-ground). Now at that time the Blessed One was afflicted with a disorder of wind in the belly. Then the Venerable Ānanda, thinking, "Formerly too, when the Blessed One was afflicted with a disorder of wind in the belly, he found comfort through gruel (yāgu) made with the three pungent ingredients," himself asked for sesame, rice, and mung beans, stored them indoors, himself cooked them indoors, and presented it to the Blessed One, saying, "May the Blessed One drink the gruel made with the three pungent ingredients."
Knowing, Tathāgatas ask; knowing, they do not ask. Knowing the time, they ask; knowing the time, they do not ask. Tathāgatas ask what is connected with benefit, not what is unconnected with benefit; regarding what is unconnected with benefit, the bridge is demolished for Tathāgatas. For two reasons the Buddhas, the Blessed Ones, question bhikkhus: "We shall teach the Dhamma," or "We shall lay down a training rule for the disciples."
Then the Blessed One addressed the Venerable Ānanda: "Where is this gruel from, Ānanda?" Then the Venerable Ānanda informed the Blessed One of the matter. The Buddha, the Blessed One, rebuked him: "It is not fitting, Ānanda, not suitable, not proper, not worthy of an ascetic, not allowable, not to be done. How could you, Ānanda, intend such abundance? Ānanda, even what is stored indoors is unallowable; even what is cooked indoors is unallowable; even what is cooked by oneself is unallowable. This, Ānanda, is not for the arousing of faith in those without faith …" Having rebuked him and given a talk on the Dhamma, he addressed the bhikkhus:
"Bhikkhus, what is stored indoors, cooked indoors, or cooked by oneself is not to be consumed. Whoever should consume it commits an offense of wrongdoing (dukkaṭa).
"If, bhikkhus, it is stored indoors, cooked indoors, and cooked by oneself, and one should consume it, there is an offense of three wrongdoings. If, bhikkhus, it is stored indoors, cooked indoors, but cooked by others, and one should consume it, there is an offense of two wrongdoings. If, bhikkhus, it is stored indoors, cooked outside, and cooked by oneself, and one should consume it, there is an offense of two wrongdoings. If, bhikkhus, it is stored outside, cooked indoors, and cooked by oneself, and one should consume it, there is an offense of two wrongdoings. If, bhikkhus, it is stored indoors, cooked outside, and cooked by others, and one should consume it, there is an offense of one wrongdoing. If, bhikkhus, it is stored outside, cooked indoors, and cooked by others, and one should consume it, there is an offense of one wrongdoing. If, bhikkhus, it is stored outside, cooked outside, and cooked by oneself, and one should consume it, there is an offense of one wrongdoing. If, bhikkhus, it is stored outside, cooked outside, and cooked by others, and one should consume it, there is no offense."
English translation from the Pali (Siam Raṭṭha edition) — under review, not for citation.