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.
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.
The chronology of completion of these yoga-related Early Buddhist Texts, however, is unclear, just like ancient Hindu texts. Early known Buddhist sources like the Majjhima Nikāya mention meditation, while the Anguttara Nikāya describes Jhāyins (meditators) that resemble early Hindu descriptions of Muni, Kesins and meditating ascetics, but these meditation-practices are not called yoga in these texts. The earliest known specific discussion of yoga in the Buddhist literature, as understood in modern context are from the later Buddhist Yogācāra and Theravada schools.
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:
Pre-philosophical speculations of yoga begin to emerge in the texts of c. 500 – c. 200 BCE. Between 200 BCE and 500 CE, philosophical schools of Hinduism, Buddhism, and Jainism were taking form and a coherent philosophical system of yoga began to emerge. The Middle Ages saw the development of many satellite traditions of yoga. Yoga came to the attention of an educated western public in the mid 19th century along with other topics of Indian philosophy.
In recent years, the related areas of fitness and figure competition have increased in popularity, surpassing that of female bodybuilding, and have provided an alternative for women who choose not to develop the level of muscularity necessary for bodybuilding. McLish would closely resemble what is thought of today as a fitness and figure competitor, instead of what is now considered a female bodybuilder. Fitness competitions also have a gymnastic element to them. A study by the Clinical Journal of Sport Medicine found that female bodybuilders who are taking anabolic steroids are more likely to have qualified for substance dependence disorder, to have been diagnosed with a psychiatric illness, or to have a history of sexual abuse.
The Yoga Sutras are also influenced by the Sramana traditions of Buddhism and Jainism, and may represent a further Brahmanical attempt to adopt yoga from the Sramana traditions. As noted by Larson, there are numerous parallels in the concepts in ancient Samkhya, Yoga and Abhidharma Buddhist schools of thought, particularly from 2nd century BCE to 1st century AD. Patanjali's Yoga Sutras is a synthesis of these three traditions. From Samkhya, the Yoga Sutras adopt the "reflective discernment" (adhyavasaya) of prakrti and purusa (dualism), its metaphysical rationalism, as well its three epistemic methods of gaining reliable knowledge. From Abhidharma Buddhism's idea of nirodhasamadhi, suggests Larson, Yoga Sutras adopt the pursuit of altered state of awareness, but unlike Buddhism's concept of no self nor soul, Yoga is physicalist and realist like Samkhya in believing that each individual has a self and soul. The third concept Yoga Sutras synthesize into its philosophy is the ancient ascetic traditions of meditation and introspection, as well as the yoga ideas from middle Upanishads such as Katha, Shvetashvatara and Maitri.
Vajrayana is also known as Tantric Buddhism and Tantrayāna. Its texts were compiled starting with 7th century and Tibetan translations were completed in 8th century CE. These tantra yoga texts were the main source of Buddhist knowledge that was imported into Tibet. They were later translated into Chinese and other Asian languages, helping spread ideas of Tantric Buddhism. The Buddhist text Hevajra Tantra and Caryāgiti introduced hierarchies of chakras. Yoga is a significant practice in Tantric Buddhism.
The hymns in Book 2 of the Shvetashvatara Upanishad, another late first millennium BCE text, states a procedure in which the body is held in upright posture, the breath is restrained and mind is meditatively focussed, preferably inside a cave or a place that is simple, plain, of silence or gently flowing water, with no noises nor harsh winds.
Description of an early form of yoga called nirodhayoga (yoga of cessation) is contained in the Mokshadharma section of the 12th chapter (Shanti Parva) of the Mahabharata (third century BCE). Nirodhayoga emphasizes progressive withdrawal from the contents of empirical consciousness such as thoughts, sensations etc. until purusha (Self) is realized. Terms like vichara (subtle reflection), viveka (discrimination) and others which are similar to Patanjali's terminology are mentioned, but not described. There is no uniform goal of yoga mentioned in the Mahabharata. Separation of self from matter, perceiving Brahman everywhere, entering into Brahman etc. are all described as goals of yoga. Samkhya and yoga are conflated together and some verses describe them as being identical. Mokshadharma also describes an early practice of elemental meditation. Mahabharata defines the purpose of yoga as the experience of uniting the individual ātman with the universal Brahman that pervades all things.
According to Pāṇini, the term yoga can be derived from either of two roots, yujir yoga (to yoke) or yuj samādhau ("to concentrate"). In the context of the Yoga Sutras of Patanjali, the root yuj samādhau (to concentrate) is considered by traditional commentators as the correct etymology. In accordance with Pāṇini, Vyasa who wrote the first commentary on the Yoga Sutras, states that yoga means samādhi (concentration).