It is narrated from Sayyiduna Abdullah bin Mughaffal (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) ordered the killing of dogs, then said: "What concern do I have with dogs?" Then the Prophet (peace and blessings be upon him) permitted keeping dogs for farming and hunting.