Hadithcore
Al-Adab Al-Mufrad, 1261

Rabi'a ibn 'Abdullah ibn al-Hadir ibn 'Abdullah reported tht two men wagered two cocks in the time of 'Umar. 'Umar ordered that the cock be killed and a man of the Ansar said to him, "Will you kill a something which glorifies Allah?" So 'Umar left it.

حَدَّثَنَا إِبْرَاهِيمُ بْنُ الْمُنْذِرِ قَالَ‏:‏ حَدَّثَنِي مَعْنٌ قَالَ‏:‏ حَدَّثَنِي ابْنُ الْمُنْكَدِرِ، عَنْ أَبِيهِ، عَنْ رَبِيعَةَ بْنِ عَبْدِ اللهِ بْنِ الْهُدَيْرِ بْنِ عَبْدِ اللهِ، أَنَّ رَجُلَيْنِ اقْتَمَرَا عَلَى دِيكَيْنِ عَلَى عَهْدِ عُمَرَ فَأَمَرَ عُمَرُ بِقَتْلِ الدِّيَكَةِ، فَقَالَ لَهُ رَجُلٌ مِنَ الأَنْصَارِ‏:‏ أَتَقْتُلُ أُمَّةً تُسَبِّحُ‏؟‏ فَتَرَكَهَا‏.‏

References2 variants
In-Book Reference
Book 54, Hadith 3
English Reference
Book 54, Hadith 1261