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.
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.
^ "Sidang Media – Fatwa Yoga". Islam.gov.my. Archived from the original on 6 January 2009. Retrieved 5 September 2010. Quote: The Fatwas of Religious Council in Islamic affairs on Yoga. After carefully studied various reports and factual data, the Council unanimously agreed that this ancient India religious teachings, which involves physical and mental exercises, are Hinduism in nature known as wahdat al-wujud philosophy (oneness of existence; the realization of identity between the Self in man, Atman; and the Divine, BRAHMAN: ‘Brahman is all, and Atman is Brahman'). It is prohibited (haram) for Muslims to practice it.