If I recall correctly, the first time I've read about the idea of the reality-present self-healing after time traveling to the past was in "The Ugly Little Boy" (Isaac Asimov, 1958) where someone tells that if you bring someone from the past to the present, instead of a chain of events that would alter the present, the reality would try to self heal and the present would remain unaltered unless you make a big change in the past.
A more extreme version of this idea is in the Time Machine (2002 movie) where the time traveler can't change the fact that his lover died when returning to the past, because that would create a paradox that it would eliminate the motivation for him to create the time machine. I haven't read the original novel of this movie (H.G. Wells 1895) so I don't know if the idea in the novel it's the same.
And I know I've seen an anime recently which featured the same idea in Asimov's way, but I don't remember the name now.
My question is, which was the first sci-fi story to feature this idea? Which was the first sci-fi story featuring time travelling where reality - the present self-heals?