Louis Pasteur
Inaugural lecture as dean of science, University of Lille, 7 December 1854
He meant that a lucky observation only counts for someone who has the knowledge to recognise it. Pasteur himself spotted the meaning of odd results others had ignored.
Source: Wikiquote