MB3 133a: Introduction to Bishul on Shabbos (318:1)

If a person cooks (or does another melacha) on Shabbos he can't derive benefit from it, even after Shabbos. Bishul includes heating metal and melting fat. Cooking done בשוגג vs. במזיד.