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.
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:
The Gita consists of 18 chapters and 700 shlokas (verses), with each chapter named as a different yoga, thus delineating eighteen different yogas. Some scholars divide the Gita into three sections, with the first six chapters with 280 shlokas dealing with Karma yoga, the middle six containing 209 shlokas with Bhakti yoga, and the last six chapters with 211 shlokas as Jnana yoga; however, this is rough because elements of karma, bhakti and jnana are found in all chapters.