In Gravitation by Misner, Thorne, and Wheeler, (IIRC), there is speculation that Riemann might have come up with relativity (he died in 1866 at age 40, two years after Maxwell published his equations). He did, after all, develop the geometry needed by Einstein.
I don't mean to imply that he did and his work is lost; I should have said "Had he lived long enough...". He was quite ill (tuberculosis) the last few years of his life.
Poincare also predicted some of the aspects of special relativity late in his career.