كتاب الصيد والذبائح وما يؤكل من الحيوان
34
The Book of Hunting, Slaughter, and what may be Eaten
(11)
Chapter: The command to be proficient in slaughtering and killing, and to sharpen the blade
(11)
باب الأَمْرِ بِإِحْسَانِ الذَّبْحِ وَالْقَتْلِ وَتَحْدِيدِ الشَّفْرَةِ ‏‏

Shaddid b. Aus said:

Two are the things which I remember Allah's Messenger (ﷺ) having said: Verily Allah has enjoined goodness to everything; so when you kill, kill in a good way and when you slaughter, slaughter in a good way. So every one of you should sharpen his knife, and let the slaughtered animal die comfortably.
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا إِسْمَاعِيلُ ابْنُ عُلَيَّةَ، عَنْ خَالِدٍ الْحَذَّاءِ، عَنْ أَبِي قِلاَبَةَ، عَنْ أَبِي الأَشْعَثِ، عَنْ شَدَّادِ بْنِ أَوْسٍ، قَالَ ثِنْتَانِ حَفِظْتُهُمَا عَنْ رَسُولِ اللَّهِ صلى الله عليه وسلم قَالَ ‏ "‏ إِنَّ اللَّهَ كَتَبَ الإِحْسَانَ عَلَى كُلِّ شَىْءٍ فَإِذَا قَتَلْتُمْ فَأَحْسِنُوا الْقِتْلَةَ وَإِذَا ذَبَحْتُمْ فَأَحْسِنُوا الذَّبْحَ وَلْيُحِدَّ أَحَدُكُمْ شَفْرَتَهُ فَلْيُرِحْ ذَبِيحَتَهُ ‏"‏ ‏.‏
Reference : Sahih Muslim 1955 a
In-book reference : Book 34, Hadith 84
USC-MSA web (English) reference : Book 21, Hadith 4810
  (deprecated numbering scheme)