The Divine Eye of an Awakened One:
At Savatthi the Blessed Buddha said
this:
Bhikkhus, imagine there were two houses and a man with good eyes
was standing there between them, and he saw people going in and
coming out, and
even passing back and forth between them.
Exactly so, do I with the purified divine eye surpassing the human,
see beings passing away and reappearing, high or low, fine or ugly,
fortunate and unfortunate! Therefore do I understand how beings
pass on according to their actions thus: These worthy beings, who
were well-behaved in body, speech, and mind, not revilers of Noble
Ones, right in their views, acting according to these right views, at
the breakup of the body, after death, have reappeared in a blissful
and pleasurable destination, even in one of the
divine worlds...
Or they have reappeared here again among good human beings...
But these worthy beings, who were ill-behaved in body, speech, and
mind, revilers of Noble Ones, wrong in their views, acting according
to these wrong views, at the breakup of the body, right after death,
have re-emerged in the realm of ghosts, or among animals, or in a state
of deprivation, or lost in a painful destination, even in the many hells...

For more about
the Divine Eye:
The
Dibba-Cakkhu see:
http://What-Buddha-Said.net/drops/IV/Seing_the_Past.htm
http://What-Buddha-Said.net/drops/IV/Suprahuman_Force_V.htm
http://What-Buddha-Said.net/library/DPPN/wtb/b_f/dibba_cakkhu.htm

Source:
The Middle Length Discourses of the Buddha.
III 178-9
MN 130 Devadūta Sutta: The Divine Messengers
http://www.pariyatti.com/book.cgi?prod_id=25072X
http://www.accesstoinsight.org/canon/majjhima/index.html
Seeing the Past shaping
the Present!