A gas explosion in a residential building in southern Russia on Thursday killed five people and injured another four, local emergency officials said.