The Tale of Stagger Lee's Magic Hat
A Treasury of American Folklore: Stories, Ballads, and Traditions of the People
B. A. Botkin (p. 123).
The Magic Hat
You see, it happened like this: Stack was crazy about Stetson hats; specially them great big five gallon hats with dimples in the crown. And he had a whole row of 'em hangin' on pegs and you could look at 'em along the wall of his rickety shanty on Market Street in St. Louis, where he lived with his woman, Stack o' Dollars, that I'm goin to tell you about later.
He had a dimpled and lemon colored yaller hat, and a black Sunday one with two white eyes to wear to funerals with his new brogans, and lots of other ones, all kinds and colors.
But his favorite one was an oxblood magic hat that folks claim he made from the raw hide of a man-eatin panther that the devil had skinned alive. And like I told you, how come Stack to have it was because he had sold his soul to old Scratch. You see, Satan heard about Stack's weakness, so he met him that dark night and took him into the grave yahd where he coaxed him into tradin' his soul, promisin' him he could do all kinds of magic and devilish things long as he wore that oxblood Stetson and didn't let it get away from him. And that's the way the devil fixed it so when Stack did lose it he would lose his head, and kill a good citizen, and run right smack into his doom."