Genesis 14
It happened in the days of Amraphel king of Shinar, Arioch king of Ellasar, Chedorlaomer king of Elam, and Tidal king of Goiim, 2that they made war with Bera king of Sodom, and with Birsha king of Gomorrah, Shinab king of Admah, and Shemeber king of Zeboiim, and the king of Bela (also known as Zoar). 3All these joined together in the valley of Siddim (also called the Salt Sea). 4Twelve years they served Chedorlaomer, and in the thirteenth year, they rebelled. 5In the fourteenth year Chedorlaomer came, and the kings who were with him, and struck the Rephaim in Ashteroth Karnaim, and the Zuzim in Ham, and the Emim in Shaveh-kiriathaim, 6and the Horites in their Mount Seir, to Elparan, which is by the wilderness. 7They returned, and came to En-mishpat (also called Kadesh), and struck all the country of the Amalekites, and also the Amorites, that lived in Hazazon Tamar. 8There went out the king of Sodom, and the king of Gomorrah, and the king of Admah, and the king of Zeboiim, and the king of Bela (also called Zoar); and they set the battle in array against them in the valley of Siddim; 9against Chedorlaomer king of Elam, and Tidal king of Goiim, and Amraphel king of Shinar, and Arioch king of Ellasar; four kings against the five. 10Now the valley of Siddim was full of tar pits; and the kings of Sodom and Gomorrah fled, and they fell there, and those who remained fled to the mountain. 11They took all the goods of Sodom and Gomorrah, and all their food, and went their way. 12They took Lut, Ibram's brother's son, who lived in Sodom, and his goods, and departed.
13One who had escaped came and told Ibram, the Hebrew. Now he lived by the oaks of Mamre, the Amorite, brother of Eshcol, and brother of Aner; and these were allies of Ibram. 14When Ibram heard that his relative was taken captive, he led forth his trained men, born in his house, three hundred and eighteen, and pursued as far as Dan. 15He divided himself against them by night, he and his servants, and struck them, and pursued them to Hobah, which is on the left hand of Damascus. 16He brought back all the goods, and also brought back his relative, Lut, and his goods, and the women also, and the people.
17The king of Sodom went out to meet him, after his return from the slaughter of Chedorlaomer and the kings who were with him, at the valley of Shaveh (the same is the King's Valley). 18Malki-Siddiq king of Salem brought forth bread and wine: and he was priest of God Most High. 19He blessed him, and said, "Blessed be Ibram by God Most High, possessor of heaven and earth: 20and praise be to God Most High, who has delivered your enemies into your hand."
Ibram gave him a tenth of all.
21The king of Sodom said to Ibram, "Give me the people, and take the goods to yourself."
22Ibram said to the king of Sodom, "I have lifted up my hand to Allah, God Most High, possessor of heaven and earth, 23that I will not take a thread nor a shoe-latchet nor anything that is yours, lest you should say, 'I have made Ibram rich.' 24Except only that which the young men have eaten, and the portion of the men who went with me, Aner, Eshcol, and Mamre: let them take their portion."