A poor girl agrees to marry a prince only if he learns some craft. He does it, marries the girl and then gets into hands of some criminals. He promises them to produce valuable object that they can sell for good money. His wife or (rare) his father recognize his work (or read signs of the object). He is released, the criminals killed