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.”