Authorities took 60-year-old Vincent Lang into custody on Thursday.
According to a criminal complaint, Lang approached the Northeast Philadelphia Islamic Center on Tyson Avenue last Sunday morning.
Police say surveillance images show him lighting a fire and throwing it into the entryway.
If convicted, Lang faces up to 20 years in prison.