Hadith.2351 - Sulayman ibn Khalid asked Abu Abdullah (as) about a man who closed his door on a bird, causing it to die.
Imam (as) replied: "If he closed the door on it after entering the state of ihram, then he must offer a sacrificial animal (damm). If he closed it before entering ihram while he was in a permissible state, he must pay its value."