An explosion rocked the compound of the National Housing Authority office in Quezon City early Monday, police said.