Karma and Patanjali
Sopakramam Nirupakramam cha karma
Tat Samayam aparanta Jnanam aristebhyo va.
Sutra 22 Chapter 3 of Yogasutras of Patanjali
Some karmas fructify very fast (some punishments are meted out rapidly) while some karmas take a long time to be meted out.
Through meditation on both these types of Karma one can get knowledge or the intuition to predict the future,even the knowledge of one’s own death.