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. 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.
^ James Mallinson, "Sāktism and Hathayoga," 28 June 2012.
In the early 11th century, the Persian scholar Al Biruni visited India, lived with Hindus for 16 years, and with their help translated several significant Sanskrit works into Arabic and Persian languages. One of these was Patanjali's Yogasutras. Al Biruni's translation preserved many of the core themes of Patañjali 's Yoga philosophy, but certain sutras and analytical commentaries were restated making it more consistent with Islamic monotheistic theology. Al Biruni's version of Yoga Sutras reached Persia and Arabian peninsula by about 1050 AD. Later, in the 16th century, the hath yoga text Amritakunda was translated into Arabic and then Persian. Yoga was, however, not accepted by mainstream Sunni and Shia Islam. Minority Islamic sects such as the mystic Sufi movement, particularly in South Asia, adopted Indian yoga practises, including postures and breath control. Muhammad Ghawth, a Shattari Sufi and one of the translators of yoga text in 16th century, drew controversy for his interest in yoga and was persecuted for his Sufi beliefs.
A yoga system that predated the Buddhist school is Jain yoga. But since Jain sources postdate Buddhist ones, it is difficult to distinguish between the nature of the early Jain school and elements derived from other schools. Most of the other contemporary yoga systems alluded in the Upanishads and some Buddhist texts are lost to time.[note 12]
a technique for entering into other bodies, generating multiple bodies, and the attainment of other supernatural accomplishments; these are, states White, described in Tantric literature of Hinduism and Buddhism, as well as the Buddhist Sāmaññaphalasutta; James Mallinson, however, disagrees and suggests that such fringe practices are far removed from the mainstream Yoga's goal as meditation-driven means to liberation in Indian religions.
One of the earliest and most influential sub-traditions of Vedanta, is Advaita Vedanta, which posits nondualistic monism. This tradition emphasizes Jñāna yoga (yoga of knowledge), which is aimed at realizing the identity of one's atman (soul, individual consciousness) with Brahman (the Absolute consciousness). The most influential thinker of this school is Adi Shankara (8th century), who wrote various commentaries and original works which teach Jñāna yoga. In Advaita Vedanta, Jñāna is attained on the basis of scripture (sruti) and one's guru and through a process of listening (sravana) to teachings, thinking and reflecting on them (manana) and finally meditating on these teachings (nididhyāsana) in order to realize their truth. It is also important to develop qualities such as discrimination (viveka), renunciation (virāga), tranquility, temperance, dispassion, endurance, faith, attention and a longing for knowledge and freedom ('mumukṣutva).' Yoga in Advaita is ultimately a "meditative exercise of withdrawal from the particular and identification with the universal, leading to contemplation of oneself as the most universal, namely, Consciousness".
The origins of yoga have been speculated to date back to pre-Vedic Indian traditions; it is mentioned in the Rigveda,[note 1] but most likely developed around the sixth and fifth centuries BCE, in ancient India's ascetic and śramaṇa movements.[note 2] The chronology of earliest texts describing yoga-practices is unclear, varyingly credited to Upanishads. The Yoga Sutras of Patanjali date from the first half of the 1st millennium CE, but only gained prominence in the West in the 20th century. Hatha yoga texts emerged sometimes between the 9th and 11th century with origins in tantra.