Language:
كتاب الديات
87  
Blood Money (Ad-Diyat)
(21)
Chapter: If a group killed or injured one man, will all have to give Diya or be punished with Al-Qisas?
(21)
باب إِذَا أَصَابَ قَوْمٌ مِنْ رَجُلٍ هَلْ يُعَاقِبُ أَوْ يَقْتَصُّ مِنْهُمْ كُلِّهِمْ
Sahih al-Bukhari 6896
Ibn 'Umar said:
A boy was assassinated. 'Umar said, "If all the people of San'a took part in the assassination I would kill them all."

Al-Mughira bin Hakim said that his father said, "Four persons killed a boy, and 'Umar said (as above)."

Abu Bakr, Ibn Az-Zubair, 'Ali and Suwaid bin Muqarrin gave the judgement of Al-Qisas (equality in punishment) in cases of slapping. And 'Umar carried out Al-Qisas for a strike with a stick. And 'Ali carried out Al-Qisas for three lashes with a whip. And Shuraih carried out for one last and for scratching.

وَقَالَ لِي ابْنُ بَشَّارٍ حَدَّثَنَا يَحْيَى، عَنْ عُبَيْدِ اللَّهِ، عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ ـ رضى الله عنهما ـ أَنَّ غُلاَمًا، قُتِلَ غِيلَةً فَقَالَ عُمَرُ لَوِ اشْتَرَكَ فِيهَا أَهْلُ صَنْعَاءَ لَقَتَلْتُهُمْ‏.‏ وَقَالَ مُغِيرَةُ بْنُ حَكِيمٍ عَنْ أَبِيهِ إِنَّ أَرْبَعَةً قَتَلُوا صَبِيًّا فَقَالَ عُمَرُ مِثْلَهُ‏.‏ وَأَقَادَ أَبُو بَكْرٍ وَابْنُ الزُّبَيْرِ وَعَلِيٌّ وَسُوَيْدُ بْنُ مُقَرِّنٍ مِنْ لَطْمَةٍ‏.‏ وَأَقَادَ عُمَرُ مِنْ ضَرْبَةٍ بِالدِّرَّةِ‏.‏ وَأَقَادَ عَلِيٌّ مِنْ ثَلاَثَةِ أَسْوَاطٍ‏.‏ وَاقْتَصَّ شُرَيْحٌ مِنْ سَوْطٍ وَخُمُوشٍ‏.‏
Reference : Sahih al-Bukhari 6896
In-book reference : Book 87, Hadith 35
USC-MSA web (English) reference : Vol. 1, Book 83, Hadith 34
  (deprecated numbering scheme)