I hope this is not too vague. I also hope it is not easily cracked with a search engine.
In 1921, similar freak dismissals in two different tests occurred. Eventually, this led to changing the existing cricket laws to disallow for such a dismissal. Consequently, I don't believe any batsman has had to benefit from the relaxed law.
What dismissal was it, and what was the cricket law amended to?