Various yogic groups had become prominent in Punjab in the 15th and 16th century, when Sikhism was in its nascent stage. Compositions of Guru Nanak, the founder of Sikhism, describe many dialogues he had with Jogis, a Hindu community which practiced yoga. Guru Nanak rejected the austerities, rites and rituals connected with Hatha Yoga. He propounded the path of Sahaja yoga or Nama yoga (meditation on the name) instead. The Guru Granth Sahib states:
Alexander the Great reached India in the 4th century BCE. Along with his army, he took Greek academics with him who later wrote memoirs about geography, people and customs they saw. One of Alexander's companion was Onesicritus, quoted in Book 15, Sections 63–65 by Strabo, who describes yogins of India. Onesicritus claims those Indian yogins (Mandanis ) practiced aloofness and "different postures – standing or sitting or lying naked – and motionless".
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.
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.
^ On the dates of the Pali canon, Gregory Schopen writes, "We know, and have known for some time, that the Pali canon as we have it — and it is generally conceded to be our oldest source — cannot be taken back further than the last quarter of the first century BCE, the date of the Alu-vihara redaction, the earliest redaction we can have some knowledge of, and that — for a critical history — it can serve, at the very most, only as a source for the Buddhism of this period. But we also know that even this is problematic... In fact, it is not until the time of the commentaries of Buddhaghosa, Dhammapala, and others — that is to say, the fifth to sixth centuries CE — that we can know anything definite about the actual contents of [the Pali] canon."