Exodus 12:8
6 You must care for it until the fourteenth day of this month, and then the whole community of Israel will kill it around sundown. 7 They will take some of the blood and put it on the two side posts and top of the doorframe of the houses where they will eat it. 8 They will eat the meat the same night; they will eat it roasted over the fire with bread made without yeast and with bitter herbs. 9 Do not eat it raw or boiled in water, but roast it over the fire with its head, its legs, and its entrails. 10 You must leave nothing until morning, but you must burn with fire whatever remains of it until morning.
Deuteronomy 16:7
5 You may not sacrifice the Passover in just any of your villages that the Lord your God is giving you, 6 but you must sacrifice it in the evening in the place where he chooses to locate his name, at sunset, the time of day you came out of Egypt. 7 You must boil13 and eat it in the place the Lord your God chooses; you may return the next morning to your tents. 8 You must eat bread made without yeast for six days. The seventh day you are to hold an assembly for the Lord your God; you must not do any work on that day. 9 You must count seven weeks; you must begin to count them from the time you begin to harvest the standing grain.
Notes and References
"... Of all the cooking scenarios described in the Hebrew Bible, one might expect that the one most closely and narrowly prescribed would be the cooking of the Passover animal—central to the identity of Israel as remembered in the biblical text. However, it is precisely this act which presents perhaps the most confusion. This confusion arises not from one text alone, but from three different texts all referring to cooking the Passover. These texts are as follows: Exodus 12:8–9; Deuteronomy 16:7; and 2 Chronicles 35:13. First, the Israelites are in Egypt, having been oppressed by Pharaoh and his regime, and they have a deliverer in the person of Moses, who has been commissioned as such by YHWH, the god of their fathers ... YHWH tells his people to prepare a lamb according to certain specifications and to prepare for the final catastrophe, the death of the firstborn ... Second, Deuteronomy’s prescription of the Passover takes place in a very different setting from that of the Exodus. In this case the Israelites are said to be in the wilderness and Moses is explaining YHWH’s teachings to them ... The cooking of the Passover is just one of many such teachings that the Israelites are to follow those who do not read these three texts with a mind to following the directives found in them might miss the problem. Those, however, who would use these texts in order to follow their prescription, would have some difficulty deciding what to do, how to cook the animal. That is, whereas Exodus seems to suggest that the animal should not be לשׁב-ed, but roasted over fire, Deuteronomy suggests that it ought to be לשׁב-ed. 2 Chronicles adds to the confusion, saying that at Josiah’s Passover they לשׁב-ed it with fire, according to custom or ordinance. How does one navigate such a problem? ..."
Peters, Kurtis Hebrew Lexical Semantics and Daily Life in Ancient Israel: What's Cooking in Biblical Hebrew? (pp. 177-178) Brill, 2016