I've heard a story about venerable Moggallana (after he became enlightened). Moggallana, the left chief disciple of the Buddha, got lost in space when he tried to find the limits of the universe. Then when he was about to give up on life, the Buddha sent his aura(a beam of light) to show venerable Moggallana the way back to earth. Anyone has a reference to this story?
It is just a fable. It is not come from the ancient theravada pali cannon, both tipitaka and commentary. Because in Thailand we have many translated pali cannons, included those both, but no one found this fable in any cannon.
This story occurs in chapter 40 (kindred sayings about moggallana) of the Salayatana-vagga, which is the fourth book of the Samyutta-nikaya (book of kindred sayings).
The relevant passage, (section 5, entitled ‘space’) can be summed-up as follows:
(Then I thought, friends) : “They say, ‘The realm of infinite space, the realm of infinite space.’ Now what is the realm of infinite space?’
Then, friends, this occurred to me: Herein a brother, passing utterly beyond the perception of objects, by the coming to an end of the perception of resistance, by not attending to perception of diversity, with the idea of “infinite is space,” enters on and abides in the realm of infinite space. This is called “ the realm of infinite space.”
So I, friends, passing utterly beyond the perception of objects . . . entered on and abode in the realm of infinite space.
But when I had thus abode (and had emerged from trance), perception and work of mind, connected with the perception of objects, still continued.
Thereupon, friends, the Exalted One by magic power came to me and said: “Moggallana, Moggallana, be not remiss in the realm of infinite space, brahmin ! **Make steadfast the mind, make the mind one-pointed, compose the mind in the realm of infinite space.”
So after that, friends, passing utterly beyond objects . . . I entered on and abode in the realm of infinite space.
Now, friends, if any would rightly say: “Helped by the Master the disciple won great super-knowledge,” of me would he rightly say: “Helped by the Master did the disciple win great super-knowledge.”’
Translation by Mrs. Rhys Davids.
This also appears in the Amitabha Sutra commentaries:
Once when Sakyamuni Buddha was teaching the Dharma, [he told his disciples that] his voice could be heard many distant lands away and that the force of his voice could be felt in many worlds. One of the Buddha's disciples, Maudgalyayana, who was the foremost in supernatural power, was skeptical that the Buddha's voice could reach such far-off places. He decided to investigate for himself and used his supernatural power to go to a Buddha Land that was ten billion Buddha Lands away. In this Buddha Land, Tathagata Lokesvaraja was preaching the Dharma. At this particular moment, a person in the audience picked up something on his body and exclaimed, "Why is a little worm crawling on my body?"
Tathagata Lokesvaraja said, "This is not a little worm; this is Maudgalyayana, a disciple of Sakyamuni Buddha from the saha world." Actu-ally, Maudgalyayana was not small; it was just when compared with the people of this Buddha Land, he was no bigger than a little worm. Then Tathagata Lokesvaraja told Maudgalyayana, "The eminence and virtues of all Buddhas are not something that can be comprehended and equaled by sravakas. You should not test them with your supernatural power." From then on, Maudgalyayana firmly believed that there are limitless worlds and limitless Buddhas in the vast immenseness of space