"Karma is of two kinds, soon to be fructified, and late to be fructified. By making Samyama on that, or by the signs called Aristha, portents, the Yogis know the exact time of separation from their bodies. When the Yogi makes a Samyama on his own Karma, upon those impressions in his mind which are now working, and those which are just waiting to work, he knows exactly by those that are waiting... when he will die, at what hour, even at what minute. Chapter 3, Sutra 23."
January 1, 1970
https://en.wikiquote.org/wiki/Karma