Give the gift of Drupal. All merchandise is 50% off through 2016.
#prefix is rendered inside form tags when a theme_form_id function exists.
To reproduce: add a #prefix to the node submission form, view source and observe that it is rendered inside the form tag. Next, remove / rename theme_node_form and observe that the prefix is correctly rendered outside the form tag.