Douglas Harper's Etymology Dictionary
hadn't
by 1705, contraction of had not.
Wiktionary
hadn't
contraction (context informal English) had not