Yoga Sutras of Patanjali · 3.16
परिणामत्रयसंयमादतीतानागतज्ञानम्॥१६॥
pariṇāmatraya-saṁyamād atīta-anāgata-jñānam
By sanyama on the three transformations (of property, characteristic, and condition), knowledge of the past and the future arises.
— Yoga Sutras of Patanjali 3.16
Source: Sanskrit attributed to Patanjali (c. 2nd century BCE – 4th century CE). Public-domain English readings drawn from Swami Vivekananda's 'Raja Yoga' (1896) and Charles Johnston's 'The Yoga Sutras of Patanjali' (1912).