Answer the following question, with explanation first.
The earliest known version was published in Samuel Arnold's Juvenile Amusements in 1797 with the lyrics:\n\nWhere did the nursery rhyme humpty dumpty come from?

Samuel Arnold 's Juvenile Amusements in 1797
The relevant information to answer the above question is: The earliest known version was published in Samuel Arnold's Juvenile Amusements in 1797 with the lyrics:.

So, the answer is Samuel Arnold 's Juvenile Amusements in 1797