There Is No Sin Upon You
Question :
We had birds that we kept in a cage; daily, we would feed them, give them drink, and release them in the morning so they can cool themselves in the air. One day, however, we forgot to release them, and the sunheat affected them, resulting in their death. We regret having kept them in cages; please advise us do we have to make any atonement?
Answer:
If the situation is as you have described, there is no sin upon you, for Allâh Almighty says:
"Our Lord! Punish us not if we forget or fall into error."
In an authentic Hadith, Allah's Messenger ﷺ related that Allah Almighty responded to the invocation in this verse by saying: "I have done so."
This was recorded by Muslim in his Sahih, and it shows that Allâh Almighty answers the supplication of his believing worshipers. And with Allah is the facilitation to do what is right.
Source:
Ibn Baz
Fatawa Islamiyah, Vol. 8 Page 281