Ata' (may Allah have mercy on him) says: I was with Sayyiduna Ibn al-Zubayr (may Allah be pleased with him) when seven offenders arrested for sodomy were brought; four were married and three unmarried. He ordered concerning the four: Take them away and stone them. And he had the hadd of lashes carried out on the three in the mosque. Sayyiduna Ibn Umar and Sayyiduna Ibn Abbas (may Allah be pleased with them) were also present.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الحدود / 17030