There was a Marquis de Sade story along those lines...the prostitute ended up being the fellow’s own wife as I recall.
Who’s yo daddy?