So the Buddhist and Hindus are not so distant cousins, as they share the foundational philosophies of the East.
The roots of Hinduism date back to somewhere between 15th and 5th century BCE. Again my thought as with The Buddha-only those who were there know for sure. We can only speculate, for these traditions were also passed to the 21st Century via oral traditions, then books and now by the oracle-wise ole Google :)
From Hinduism, which is considered the oldest known religion with over a billion followers worldwide, comes Yoga.
It is said that a sage named Patanjali wrote
'The Yoga Sutras' of which he shares the original theory and practice of Yoga. Like The Buddha Patanjali uses the number eight.
Ashtanga which translates from Sanskrit as "Ashta"-Eight and "ang"- Limb.
Yamas are the first practices, these ethical rules of Hinduism can be thought of as the restraints.
Yogis and Yoginis attempt to restrain themselves from
the five Yamas
Ahimsa(अहिंसा): Nonviolence, non-harming other living beings
Satya (सत्य): truthfulness, non-falsehood
Asteya (अस्तेय): non-stealing
Brahmacharya(ब्रह्मचर्य): chastity marital fidelity or sexual restraint
Aparigraha (अपरिग्रह): non-avarice, non-possessiveness
How Yoga and Buddhist Teachings Compare
By David Frawley
"Yoga and Buddhism are both meditation traditions devised to help us transcend karma and rebirth and realize the truth of consciousness. They see the suffering and impermanence inherent in all birth, whether it is animal, human or god, and seek to alleviate it through developing a higher awareness. Both emphasize the need to dissolve the ego, the sense of the me and the mine, and return to the original reality that is not limited by the separate self. Both traditions emphasize enlightenment or inner illumination to be realized through meditation.
Both systems recognize dharma, the principle of truth or natural law, as the basic law of the universe we must come to understand. Such dharmas are the law of karma and the unity of all sentient beings. Buddhism defines itself as Buddha dharma or the dharma of the enlightened ones, which is seen as a tradition transcending time or place. Yoga defines itself as part of the Hindu tradition called Sanatana Dharma, the universal or eternal dharma, which is not defined according to any particular teacher or tradition. Both traditions have called themselves Arya Dharma or the Dharma of noble men.
The main differences between the two systems are over their cosmic view and way of practice. Vedic systems are built upon fundamental principles like the Self (Atman), the Creator (Ishvara), and Godhead (Brahman). Buddhism rejects all such ontological principles as mere creations of the mind itself. In this regard Vedic systems are more idealistic and Buddhism systems more phenomenological.
Apart from such philosophical differences both systems share the same basic ethical values like non-violence, truthfulness, non-attachment and non-stealing. The vows that Buddhist monks take and those that monks and sadhus take in the Yoga tradition are the same, so are those of Jain monks."