The detection of a gamma ray burst by the MAGIC telescopes allows to study whether the speed of light in vacuum is a constant of nature. The results, published in the journal Physical Review Letters, show that photons of different energies emitted about 4.5 billion years ago reach Earth with a time difference of less than one minute, thus putting a limit on the hypothesis that the velocity of photons depends on their energy.