It is narrated from Sayyiduna Abu Ayyub (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) forbade tying up an animal and killing it.