Sunan an-Nasa'i, Hadith 4269 ⓘ
It was narrated that 'Adiyy bin Hatim said: "I asked the Messenger of Allah about dogs and he said: 'If you release your dog and say the name of Allah, then eat, but if you find another dog with your dog then do not eat, for you only said the name of Allah over your dog, not any other.""
أَخْبَرَنَا عَمْرُو بْنُ عَلِيٍّ، قَالَ حَدَّثَنَا يَحْيَى، قَالَ حَدَّثَنَا زَكَرِيَّا، - وَهُوَ ابْنُ أَبِي زَائِدَةَ - قَالَ حَدَّثَنَا عَامِرٌ، عَنْ عَدِيِّ بْنِ حَاتِمٍ، قَالَ سَأَلْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم عَنِ الْكَلْبِ فَقَالَ " إِذَا أَرْسَلْتَ كَلْبَكَ فَسَمَّيْتَ فَكُلْ وَإِنْ وَجَدْتَ كَلْبًا آخَرَ مَعَ كَلْبِكَ فَلاَ تَأْكُلْ فَإِنَّمَا سَمَّيْتَ عَلَى كَلْبِكَ وَلَمْ تُسَمِّ عَلَى غَيْرِهِ " .
also referenced under: Book 42, Hadith 7 (In-Book) & Volume 5, Book 42, Hadith 4274 (DarusSalam)