The Old Testament (King James Version) prescribed death punishment by stoning for several crimes (Jacobs, 1964) including stealing (Joshua, 7:20-26), Sabbath breaking (Numbers, 15:32-36), preaching or practicing a different religion, blasphemy (Lev, 24:10- 16), cursing God and the king (Kings, 21:1-16), being a medium or a wizard (Levi, 20:27), being a stubborn or rebellious son (Deut, 21:18-21), and other major crimes. Stoning was one of the primary methods of capital punishment in the Old Testament.
The basis for punishment of stoning specifically for adultery is clearly provided in Leviticus (20:10-12) which reads: "If a man commits adultery with another man's wife, even with the wife of his neighbour, both the adulterer and adulteress must be put to death...." Further, in Deuteronomy (22:22-24), it is stated that, "If a man happens to meet in a town a virgin pledged to be married and he sleeps with her, you should take both of them to the gate of that town and stone them to death."
I've copied the above from another source directly as I'm not well and don't have time to write a full reply. However, despite the prescription of stoning throughout the Old Testament, we all know that Jesus preached against it. You cannot point to a supposed conversation between God and Moses as 'proof' that Jesus ate lamb flesh. There is historical evidence that the Essenes were vegetarian. We don't know for sure, but at the very least there is little evidence that Jesus ate lamb flesh and much to suggest he didn't.
I find it interesting that flesh-addicted Christians use this sacrificial rite or mitzvah as an excuse to eat animals, yet none of them perform the Pesach Sheni themselves, or insist on their 'meat' being killed and prepared in the way proscribed by YHWH