It was narrated that ‘Adiyy bin Hatim said: “I asked the Messenger of Allah صلی اللہ علیہ وآلہ وسلم ‘I release my dog.’ He said: ‘If you release your dog and mention the name of Allah, then eat. But if he has eaten some of it, then do not eat, for he caught it for himself. If you release your dog then you find another dog with it, then do not eat, for you said the name of Allah over your dog, and not over any other.”
(Sahih)