Yōga Sūtras
Yōga Sūtra 3.23
and by samyama on the act, its implications and non-implications one gains knowledge of death, as well as impending outcomes.