Composition, method and kit of parts for a simplified and safe extraction of nucleic acids from biological samples, such as crude and processed food, and subsequent analysis by polymerase chain reaction to the presence of animal material, genetically modified organisms, allergens and pathogens. The method comprises the addition of extracting composition together with hot water for extraction and stabilization of nucleic acids as well as removal of substances interfering with DNA polymerase activity.