Yogaśataka a Jain work by Haribhadra Suri 6th century CE "With conviction, the lords of Yogins have in our doctrine defined yoga as the concurrence (sambandhah) of the three [correct knowledge (sajjñana), correct doctrine (saddarsana) and correct conduct (saccaritra)] beginning with correct knowledge, since [thereby arises] conjunction with liberation....In common usage this [term] yoga also [denotes the soul’s] contact with the causes of these [three], due to the common usage of the cause for the effect. (2, 4).[32]
^ James Mallinson, "Sāktism and Hathayoga," 6 March 2012. PDF file Archived 16 June 2013 at the Wayback Machine [accessed 10 June 2012] pp. 20–21 "The Buddha himself is said to have tried both pressing his tongue to the back of his mouth, in a manner similar to that of the hathayogic khecarīmudrā, and ukkutikappadhāna, a squatting posture which may be related to hathayogic techniques such as mahāmudrā, mahābandha, mahāvedha, mūlabandha, and vajrāsana in which pressure is put on the perineum with the heel, in order to force upwards the breath or Kundalinī."

The origins of yoga are a matter of debate.[44] There is no consensus on its chronology or specific origin other than that yoga developed in ancient India. Suggested origins are the Indus Valley Civilization (3300–1900 BCE)[45] and pre-Vedic Eastern states of India,[46] the Vedic period (1500–500 BCE), and the śramaṇa movement.[47] According to Gavin Flood, continuities may exist between those various traditions:

The spiritual sense of the word yoga first arises in Epic Sanskrit, in the second half of the 1st millennium BCE, and is associated with the philosophical system presented in the Yoga Sutras of Patanjali, with the chief aim of "uniting" the human spirit with the Divine.[24] The term kriyāyoga has a technical meaning in the Yoga Sutras (2.1), designating the "practical" aspects of the philosophy, i.e. the "union with the supreme" due to performance of duties in everyday life.[25]