The early practice of Jain yoga seems to have been divided into several types, including meditation (dhyāna), abandonment of the body (kāyotsarga), contemplation (anuprekṣā), and reflection (bhāvanā). Some of the earliest sources for Jain yoga are the Uttarādhyayana-sūtra, the Āvaśyaka-sūtra, the Sthananga Sutra (c. 2nd century BCE). Later works include Kundakunda's Vārassa-aṇuvekkhā (“Twelve Contemplations”, c. 1st century BCE to 1st century CE), Haribhadra's Yogadṛṣṭisamuccya (8th century) and the Yogaśāstra of Hemachandra (12th century). Later forms of Jain yoga adopted Hindu influences, such as ideas from Patanjali's yoga and later Tantric yoga (in the works of Haribhadra and Hemachandra respectively). The Jains also developed a progressive path to liberation through yogic praxis, outlining several levels of virtue called gunasthanas.
Onesicritus also mentions his colleague Calanus trying to meet them, who is initially denied audience, but later invited because he was sent by a "king curious of wisdom and philosophy". Onesicritus and Calanus learn that the yogins consider the best doctrine of life as "rid the spirit of not only pain, but also pleasure", that "man trains the body for toil in order that his opinions may be strengthened", that "there is no shame in life on frugal fare", and that "the best place to inhabit is one with scantiest equipment or outfit". These principles are significant to the history of spiritual side of yoga. These may reflect the ancient roots of "undisturbed calmness" and "mindfulness through balance" in later works of Hindu Patanjali and Buddhist Buddhaghosa respectively, states Charles Rockwell Lanman; as well as the principle of Aparigraha (non-possessiveness, non-craving, simple living) and asceticism discussed in later Hinduism and Jainism.
^ For instance, Kamalashila (2003), p. 4, states that Buddhist meditation "includes any method of meditation that has Enlightenment as its ultimate aim." Likewise, Bodhi (1999) writes: "To arrive at the experiential realization of the truths it is necessary to take up the practice of meditation.... At the climax of such contemplation the mental eye … shifts its focus to the unconditioned state, Nibbana...." A similar although in some ways slightly broader definition is provided by Fischer-Schreiber et al. (1991), p. 142: "Meditation – general term for a multitude of religious practices, often quite different in method, but all having the same goal: to bring the consciousness of the practitioner to a state in which he can come to an experience of 'awakening,' 'liberation,' 'enlightenment.'" Kamalashila (2003) further allows that some Buddhist meditations are "of a more preparatory nature" (p. 4).
The earliest references to hatha yoga are in Buddhist works dating from the eighth century. The earliest definition of hatha yoga is found in the 11th century Buddhist text Vimalaprabha, which defines it in relation to the center channel, bindu etc. Hatha yoga synthesizes elements of Patanjali's Yoga Sutras with posture and breathing exercises. It marks the development of asanas (plural) into the full body 'postures' now in popular usage and, along with its many modern variations, is the style that many people associate with the word yoga today.
Malaysia's top Islamic body in 2008 passed a fatwa, prohibiting Muslims from practicing yoga, saying it had elements of Hinduism and that its practice was blasphemy, therefore haraam. Some Muslims in Malaysia who had been practicing yoga for years, criticized the decision as "insulting." Sisters in Islam, a women's rights group in Malaysia, also expressed disappointment and said yoga was just a form of exercise. This fatwa is legally enforceable. However, Malaysia's prime minister clarified that yoga as physical exercise is permissible, but the chanting of religious mantras is prohibited.
The first known appearance of the word "yoga", with the same meaning as the modern term, is in the Katha Upanishad, probably composed between the fifth and third century BCE, where it is defined as the steady control of the senses, which along with cessation of mental activity, leading to a supreme state.[note 13] Katha Upanishad integrates the monism of early Upanishads with concepts of samkhya and yoga. It defines various levels of existence according to their proximity to the innermost being Ātman. Yoga is therefore seen as a process of interiorization or ascent of consciousness. It is the earliest literary work that highlights the fundamentals of yoga. White states:
Ascetic practices, concentration and bodily postures described in the Vedas may have been precursors to yoga. According to Geoffrey Samuel, "Our best evidence to date suggests that [yogic] practices developed in the same ascetic circles as the early sramana movements (Buddhists, Jainas and Ajivikas), probably in around the sixth and fifth centuries BCE."
Yoga may have pre-Vedic elements. Some state yoga originated in the Indus Valley Civilization. Marshall, Eliade and other scholars note that the Pashupati seal discovered in an Indus Valley Civilization site depicts a figure in a position resembling an asana used for meditation, Mulabandhasana. This interpretation is considered speculative and uncertain by more recent analysis of Srinivasan and may be a case of projecting "later practices into archeological findings".
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).
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.