its the heat that ignites the fuel, compressing the air fule mixture heats it up rapidly and sometimes ignites it too early. there are so many variables to consider when talking about pre-ignition of fuel. so you could probably just look up the flash point of gasoline and get a good idea of how hot it has to be to ignite in the chamber.
Google is a wonderful thing...