A homemade explosive device appears to have caused a Saturday morning explosion at a mosque in Minnesota, authorities said, and the FBI is taking the lead in the investigation.