HAKIM 4058:
from Lah Innī Qad Wahabat Nafsī Faʾawḥá Allāh Ilayh —
[Machine] That Ibrahim, when he migrated to the land of Sham and they expelled him from there, he departed and with him was Sarah. She said to him, "Indeed, I have gifted myself to you." Then Allah inspired to him to marry her, and it was the first revelation that was sent to him, and Lot believed in it, as did his people in his lineage. He said, "Indeed, I am migrating to my Lord. Indeed, He is the Exalted in Might, the Wise." So they expelled him from Babylonia to the sacred land until he reached Harran, and they expelled him from there until they brought him to the Jordan River, which contained a strong giant among the giants, but Allah destroyed him. Then Ibrahim returned to Sham, and with him was Lot. Allah informed Lot and sent him as a messenger and a caller to Allah in the cities known as the "mou'tafaqat", with Sodom being the greatest among them, followed by Amoud, Aram, Sa'our, and Sabour. The people of these cities numbered four thousand thousand men. Lot stayed in Sodom for twenty-five years, commanding them, forbidding them, and inviting them to Allah and to worship Him, and he left what they were engaged in of immorality and abominations. It was obligatory on Lot to offer hospitality to his guests, just as it was obligatory on Ibrahim and Ismael. But his people did not host anyone, rather, they only approached the men from the worlds and called the women. Allah denounced them for this through the tongue of their Prophet in the Quran, saying, "Do you approach men among the worlds and leave what your Lord has created for you as wives?" Then Wahb and Abdullah bin Abbas mentioned that which led them to have relations with men without women. They had gardens and fruits in their homes, as well as gardens and fruits on the outskirts of the road. Then they were afflicted with severe drought and hunger. So some of them said to others, "If you refrain from giving away your fruits to the travelers, you will have provisions for yourselves." They asked how they could do that, so some of them suggested to abduct any stranger they found in their land and marry him, claiming him as their own. They would take him and grab him. Thus, whenever people came upon them, they did this to them. This became their practice until Iblis went to those mountains in the form of a beautiful and radiant young boy. The people saw him and admired him, so they adored him, married him, took him, and grabbed him. Then he left. People would not come to them except that they would do the same to them. This became their practice until Allah sent Lot to them, forbidding them from doing this and warning them of punishment. They sought his forgiveness, and he said, "O my people, you have committed the obscenity that no one in the worlds has committed before you." Then the rest of the narration continues as narrated by Ibn Abbas, but it was not mentioned by Al-Dhahabi in his summary.
الحاكم ٤٠٥٨:
عن له اني قد وهبت نفسي فءوحى الاه اليه —
أَنَّ إِبْرَاهِيمَ لَمَّا هَاجَرَ إِلَى أَرْضِ الشَّامِ وَأَخْرَجُوهُ مِنْهَا طَرِيدًا فَانْطَلَقَ وَمَعَهُ سَارَةُ وَقَالَتْ لَهُ إِنِّي قَدْ وَهَبَتْ نَفْسِي فَأَوْحَى اللَّهُ إِلَيْهِ أَنْ تَتَزَوَّجَهَا فَكَانَ أَوَّلَ وَحْيٍ أَنْزَلَهُ عَلَيْهِ وَآمَنَ بِهِ لُوطٌ فِي رَهْطٍ مَعَهُ مِنْ قَوْمِهِ وَقَالَ إِنِّي مُهَاجِرٌ إِلَى رَبِّي إِنَّهُ هُوَ الْعَزِيزُ الْحَكِيمُ فَأَخْرَجُوهُ مِنْ أَرْضِ بَابِلَ إِلَى الْأَرْضِ الْمُقَدَّسَةِ حَتَّى وَرَدَ حَرَّانَ فَأَخْرَجُوهُ مِنْهَا حَتَّى دَفَعُوا إِلَى الْأُرْدُنِّ وَفِيهَا جَبَّارٌ مِنَ الْجَبَّارِينَ حَتَّى قَصَمَهُ اللَّهُ ثُمَّ إِنَّ إِبْرَاهِيمَ رَجَعَ إِلَى الشَّامِ وَمَعَهُ لُوطٌ فَنَبَأَ اللَّهُ لُوطًا وَبَعْثَهُ إِلَى الْمُؤْتَفِكَاتِ رَسُولًا وَدَاعِيًا إِلَى اللَّهِ وَهِيَ خَمْسَةُ مَدَائِنَ أَعْظَمُهَا سَدُومُ ثُمَّ عَمُودُ ثُمَّ أَرُومُ ثُمَّ صَعُورُ ثُمَّ صَابُورُ وَكَانَ أَهْلُ هَذِهِ الْمَدَائِنِ أَرْبَعَةَ آلَافِ أَلْفَ إِنْسَانٍ فَنَزَلَ لُوطٌ سَدُومًا فَلَبِثَ فِيهِمْ بِضْعًا وَعِشْرِينَ سَنَةً يَأْمُرُهُمْ وَيَنْهَاهُمْ وَيَدْعُوهُمْ إِلَى اللَّهِ وَإِلَى عِبَادَتِهِ وَتَرَكَ مَا هُمْ عَلَيْهِ مِنَ الْفَوَاحِشِ وَالْخَبَائِثِ وَكَانَتِ الضِّيَافَةُ مُفْتَرَضَةً عَلَى لُوطٍ كَمَا افْتُرِضَتْ عَلَى إِبْرَاهِيمَ وَإِسْمَاعِيلَ فَكَانَ قَوْمُهُ لَا يُضِيفُونَ أَحَدًا وَكَانُوا يَأْتُونَ الذُّكْرَانَ مِنَ الْعَالَمِينَ وَيَدْعُونَ النِّسَاءَ فَعَيَّرَهُمُ اللَّهُ بِذَلِكَ عَلَى لِسَانِ نَبِيِّهِمْ فِي الْقُرْآنِ فَقَالَ {أَتَأْتُونَ الذُّكْرَانَ مِنَ الْعَالَمِينَ وَتَذَرُونَ مَا خَلَقَ لَكُمْ رَبُّكُمْ مِنْ أَزْوَاجِكُمْ} [الشعراء 166] قَالَ وَهْبٌ وَذَكَرَ عَبْدُ اللَّهِ بْنُ عَبَّاسٍ أَنَّ الَّذِي حَمَلَهُمْ عَلَى إِتْيَانِ الرِّجَالِ دُونَ النِّسَاءِ أَنَّهُمْ كَانَتْ لَهُمْ بَسَاتِينُ وَثِمَارٌ فِي مَنَازِلِهِمْ وَبَسَاتِينَ وَثِمَارٌ خَارِجَةً عَلَى ظَهْرِ الطَّرِيقِ وَأَنَّهُمْ أَصَابَهُمْ قَحْطٌ شَدِيدٌ وَجُوعٌ فَقَالَ بَعْضُهُمْ لِبَعْضٍ إِنْ مَنَعْتُمْ ثِمَارَكُمْ هَذِهِ الظَّاهِرَةَ مِنْ أَبْنَاءِ السَّبِيلِ كَانَ لَكُمْ فِيهَا مَعَاشٌ فَقَالُوا كَيْفَ نَمْنَعُهَا فَأَقْبَلَ بَعْضُهُمْ عَلَى بَعْضٍ فَقَالُوا اجْعَلُوا سُنَّتُكُمْ فِيهَا مَنْ وَجَدْتُمُوهُ فِي بِلَادِكُمْ غَرِيبًا لَا تَعْرِفُوهُ فَاسْلُبُوهُ وَانْكِحُوهُ وَاسْحَبُوهُ فَإِنَّ النَّاسَ لَا يَطَئُونَ بِلَادَكُمْ إِذَا فَعَلْتُمْ ذَلِكَ فَجَاءَهُمْ إِبْلِيسُ عَلَى تِلْكَ الْجِبَالِ فِي هَيْئَةِ صَبِيٍّ وَضِيءٍ أَحْلَى صَبِيٍّ رَآهُ النَّاسُ وَأَوْسَمَهُ فَعَمَدُوهُ فَنَكَحُوهُ وَسَلَبُوهُ وَسَحَبُوهُ ثُمَّ ذَهَبَ فَكَانَ لَا يَأْتِيهِمْ مِنَ النَّاسِ إِلَّا فَعَلُوا بِهِ فَكَانَ تِلْكَ سُنَّتُهُمْ حَتَّى بَعَثَ اللَّهُ إِلَيْهِمْ لُوطًا فَنَهَاهُمْ لُوطٌ عَنْ ذَلِكَ وَحَذَّرَهُمُ الْعَذَابَ وَاعْتَذَرَ إِلَيْهِمْ فَقَالَ يَا قَوْمِ إِنَّكُمْ لَتَأْتُونَ الْفَاحِشَةَ مَا سَبَقَكُمْ بِهَا مِنْ أَحَدٍ مِنَ الْعَالَمِينَ ثُمَّ ذَكَرَ بَاقِي الْحَدِيثَ عَنِ ابْنِ عَبَّاسٍسكت عنه الذهبي في التلخيص
hadithunlocked.com