An imam allowed terrorists into a mosque.