(19) بَابُ مَنْ حَكَمَ فِي الْمَسْجِدِ حَتَّى إِذَا أَتَى عَلَى حَدٍّ أَمَرَ أَنْ يُخْرَجَ مِنَ الْمَسْجِدِ فَيُقَامَ
(continued from above)Narrated Jabir bin Abdullah:
I was one of those who stoned him at the Musalla in Al-Madina (See Hadith 5272).
Reference: Sahih al-Bukhari 7168
In-book reference: Book 93, Hadith 32
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 1, Book 89, Hadith 280