"...[T]here is the cultivation of meditative and contemplative techniques aimed at producing what might, for the lack of a suitable technical term in English, be referred to as 'altered states of consciousness'. In the technical vocabulary of Indian religious texts such states come to be termed 'meditations' ([Skt.:] dhyāna / [Pali:] jhāna) or 'concentrations' (samādhi); the attainment of such states of consciousness was generally regarded as bringing the practitioner to deeper knowledge and experience of the nature of the world." (Gethin, 1998, p. 10.)
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.
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".