The Maitrayaniya Upanishad, likely composed in a later century than Katha and Shvetashvatara Upanishads but before Patanjali's Yoga Sutra, mentions sixfold yoga method – breath control (pranayama), introspective withdrawal of senses (pratyahara), meditation (dhyana), mind concentration (dharana), philosophical inquiry/creative reasoning (tarka), and absorption/intense spiritual union (samadhi).
During the period between the Mauryan and the Gupta eras (c. 200 BCE–500 CE) the Indic traditions of Hinduism, Buddhism and Jainism were taking form and coherent systems of yoga began to emerge. This period witnessed many new texts from these traditions discussing and systematically compiling yoga methods and practices. Some key works of this era include the Yoga Sūtras of Patañjali, the Yoga-Yājñavalkya, the Yogācārabhūmi-Śāstra and the Visuddhimagga.
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.
One of the best known early expressions of Brahmanical Yoga thought is the Yoga Sutras of Patanjali , the original name of which may have been the Pātañjalayogaśāstra-sāṃkhya-pravacana (c. sometime between 325 - 425) which some scholars now believe included both the sutras and a commentary. As the name suggests, the metaphysical basis for this text is the Indian philosophy termed Sāṃkhya. This atheistic school is mentioned in Kauṭilya's Arthashastra as one of the three categories of anviksikis (philosophies) along with Yoga and Cārvāka. The two schools have some differences as well. Yoga accepted the conception of "personal god", while Samkhya developed as a rationalist, non-theistic/atheistic system of Hindu philosophy. Sometimes Patanjali's system is referred to as Seshvara Samkhya in contradistinction to Kapila's Nirivara Samkhya. The parallels between Yoga and Samkhya were so close that Max Müller says that "the two philosophies were in popular parlance distinguished from each other as Samkhya with and Samkhya without a Lord." https://buzzingoffer.tumblr.com/