Some say it was from the Templars arrest in 1307 on Friday, October 13th.
However, a more logical explanation is in 1907 there was a book written called Friday the Thirteenth. It dealt with the stock market and how shady things where happening in it. A big seller back then, but long...