Abū Dāwūd narrated (1) from Ibn Abbās—may Allah be pleased with him—concerning an unmarried man (2) found engaging in sodomy that he said: He is to be stoned.
A similar opinion was narrated from (3) Alī ibn Abī Tālib—may Allah be pleased with him (4).
The Companions did not disagree that he was to be put to death, but they differed regarding the method. It is narrated that al-Siddīq—may Allah be pleased with him—ordered that he be burned; others held that he should be put to death; and some held that a wall should be brought down (5) upon him until he died beneath the rubble. It was also said that the two men should be confined in the foulest place until they died. Others held that he should be taken to the top of the highest wall in the town, thrown from it, and then pelted with stones, just as Allah did to the people of Lot. This is one report from Ibn Abbās—may Allah be pleased with him. According to the other report, he said that the man should be stoned. Most of the early Muslims held this view, and it is the position of the scholars of Medina and Greater Syria and of most hadith jurists, including Ahmad according to the sounder of the two reports from him, and al-Shāfiī according to one of his two opinions (6).