Shulchan Arukh, 16th Century
“You shall not boil a baby goat in its mother’s milk” [is written in Torah] three times: Once for the prohibition of cooking (the two together), once for the prohibition of eating, and once for the prohibition of deriving pleasure (from eating the cooked mixture).

