Gen. 18:22-33 is one of the first recorded “prayers” in the Bible. However, it is not what we’d typically refer to as a “prayer.” It is really more of a dialogue between God (through angels) & Abraham. Nevertheless, Abraham is talking to God and is interceding, much like is done in many of the prayers in scripture. Abraham intercedes for his nephew Lot, but also for the rest of the people in Sodom.