A free boundary problem with a volume penalization