The subtitle to Eric (‘Faust’, crossed out) already indicates what story is being parodied in this novella: that of the German alchemist and demonologist Johannes (or Georg) Faust who sold his soul to the devil.
The most famous version of the Faust legend is perhaps the one told by Goethe in Faust, with Cristopher Marlowe’s earlier play The Tragical History of Dr Faustus a close second.