Taught at Jetavana. The true saint is he who does not hanker after the past and does not long for the future. He is not swept away by present states of consciousness, but scanning his heart with insight, he struggles unceasingly to win eternal Changelessness (M.iii.187 ﬀ).
This sutta was learned by Ānanda and used by him in an exposition to his colleagues. This exposition was approved by the Buddha and came to be called the Ānanda-
Similarly, Lomasakaṅgiya Thera was asked about the sutta by the god Candana, when he was staying in the Nigrodhārāma at Kapilavatthu. He, in his turn, had to confess his ignorance, and Candana taught him the verses, which, he said, were uttered by the Buddha during his visit to Tāvatiṃsa. When he went to teach the Abhidhamma. The Commentary (MA.ii.962) explains that the Buddha taught this sutta for the benefit of devas who could not understand the Abhidhamma. Lomasakaṅgiya learnt the verses, and, going to the Buddha, questioned him concerning them. The Buddha made them clear to him. This account is called the Lomasakaṅgiya-