An investigation has been launched after three women died and a further three people were hospitalised after they ate Christmas cake at a family gathering.