If my misunderstanding means that in fact the chain and cassette were replaced together, or 1 day apart, one wouldn't expect a problem, save that of a stiff link?
Does the problem only happen when under heavy load on the pedals? Can you hear the gears chinking when just cruising flat land...