Chamisso, Adelbert von. Peter Schlemihl

Peter Schlemihl by Adelbert von Chamisso (1814). Peter Schlemihl exchanges his shadow for the purse of Fortunatus, which produces everlasting riches. But he finds himself shunned by society and unable to marry the woman he loves. The Devil offers to return him his shadow in exchange for his soul but Schlemihl chooses to go shadowless.

Some snippets (trans. Leopold von Lowenstein-Wertheim):
"I only crave for your permission to lift up your noble shadow right here and to put it into my pocket; how I do it is my own affair. In return, and as a token of my profound gratitude to the gentleman, I will leave him to make his choice among all the treasures which I carry in my pocket. The genuine mandrake root, magic pennies, robber's ducat, the magic napkin of Roland's Knights, the gallows mandrake; but all this may not be of sufficient interest to you. I have something much better: Fortunatus' wishing cap restored as new and also a lucky purse exactly like the one he possessed."
As soon as I found myself alone in the cab, I burst into tears. It was already beginning to dawn on me that even as gold on this earth is more highly esteemed than merit and virtue, so the shadow might be more highly esteemed than gold; and that as I had previously held my conscience higher than wealth, I had now given up my shadow for the sake of gold [...]
I dismissed the driver with gold, selected the best front room and shut myself up in it immediately.
     And what do you think I did? Oh, my dear Chamisso, it makes me blush to confess it even to you. I pulled out the cursed purse from underneath my coat and in a kind of frenzy, which burned me up like a conflagration, I extracted gold from it; more and more gold, which I scattered over the floor. I trampled on it, making it tinkle and feasting my senses on its glitter and sound; I piled gold upon gold till I sank exhausted onto my luxurious bed, wallowing in a yellow flood. Thus the day went by and the evening. I did not open my door, and when night finally came, I fell asleep embedded in gold.
"It seems to me rather a weighty matter to give my soul in exchange for my shadow."
"Weighty!" he repeated after me and burst out laughing. "And what, may I ask, do you imagine your soul is? Have you ever seen it? And what do you intend doing with it once you are dead? Thank you stars that you have found a collector sufficiently interested to wish to buy, even during your lifetime, the reversion of this quantity X, this galvanic force, this polarized potential, or whatever we may like to call this illusive something.; and to be willing to pay for it with something really tangible -- your very own shadow, which will give you the hand of your sweetheart and the fulfilment of everything you want. Or would you rather hand over the innocent young girl to that despicable schemer, Mr Rascal? [...]"
"[...] But enough of this -- you possess me while you possess my gold. [...]"
Remember, my friend, while you live in the world to treasure first your shadow and then your money.