It's possible that this idea originated from a misunderstanding of a story about Einstein's early life. Some accounts mention him experiencing a storm while he was a child, but they don't claim he was actually struck.
There is no official record of Einstein being struck by lightning, and he himself never mentioned such an event.