The $40,000 prize was the highest amount won by a Connecticut Lottery player in Friday's Mega Millions drawing.