What is the earliest mention (in writing) of 13 as an unlucky number?

by satuon

Regardless of whether the author agrees or disagrees, any mention of 13 in this context would indicate it was already being considered unlucky by some.

alriclofgar

Hammurabi's Code (18th c. BCE) lacks a thirteenth law, supposedly because of its bad luck: http://www.fordham.edu/halsall/ancient/hamcode.asp