Sunan Ibn Majah, Book 20, Hadith 2658 (In-Book) ⓘ
It was narrated from Ibn`Abbas that the Messenger of Allah said: “Whoever you find doing the action of the people of Lut, kill the one who does it, and the one to whom it is done.”
حَدَّثَنَا مُحَمَّدُ بْنُ الصَّبَّاحِ، وَأَبُو بَكْرِ بْنُ خَلاَّدٍ قَالاَ حَدَّثَنَا عَبْدُ الْعَزِيزِ بْنُ مُحَمَّدٍ، عَنْ عَمْرِو بْنِ أَبِي عَمْرٍو، عَنْ عِكْرِمَةَ، عَنِ ابْنِ عَبَّاسٍ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ " مَنْ وَجَدْتُمُوهُ يَعْمَلُ عَمَلَ قَوْمِ لُوطٍ فَاقْتُلُوا الْفَاعِلَ وَالْمَفْعُولَ بِهِ " .
also referenced under: Hadith 2561 (Reference) & Volume 3, Book 20, Hadith 2561 (DarusSalam)