Exodus 12:9

12:9 Do not eat it raw or boiled in water, but roast it over the fire with its head, its legs, and its entrails.

sn This ruling was to prevent their eating it just softened by the fire or partially roasted as differing customs might prescribe or allow.