He was, however, a prolific writer about train travel and the impact of the railways on society. He often wrote about the dangers and challenges of train travel in his works.
One famous example is the scene in "Dombey and Son" where young Paul Dombey is injured in a train accident.
It is possible that Dickens witnessed or heard about a train accident, which may have influenced his writing. But there is no evidence that he was ever personally involved in one.