You're right about Genesis 19, but the negotiation that leads up to it starts in Genesis 18. That's where Abraham and God negotiate about how many honorable men must be found.
But it's another ongoing Max Sennett marathon. It starts way back in Genesis 13 IIRC and it's a series of continuing cliffhangers designed for tales around the campfire.