Narrated Abdullah ibn Masud: We were with the Messenger of Allah ﷺ during a journey. He went to ease himself. We saw a bird with her two young ones and we captured her young ones. The bird came and began to spread its wings. The Messenger of Allah ﷺ came and said: Who grieved this for its young ones? Return its young ones to it. He also saw an ant village that we had burnt. He asked: Who has burnt this? We replied: We. He said: It is not proper to punish with fire except the Lord of fire.
Hadith Referenceسنن ابي داود / كتاب الجهاد / 2675
Hadith Gradingالألبانی:صحيح | زبیر علی زئی:إسناده حسن, مشكوة المصابيح (3542)
Hadith Takhrij« تفرد بہ أبوداود، (تحفة الأشراف: 9362)، وقد أخرجہ: مسند احمد (1/404)، ویأتی ہذا الحدیث فی الأدب (5268) (صحیح) »
Abdur-Rahman bin Abdullah quoted his father as saying: When we were on a journey with the Messenger of Allah ﷺ and he had gone to releive himself, we saw a Hummarah with two young ones. We took the young ones. The Hummarah came and began to spread out its wings. Then the prophet ﷺ came and said: who has pained this young by the loss of her young? Give her young ones back to her. We also saw an ant-hill which we had burned. He asked? Who has burned this? We replied: we have. He said: it is not fitting that anyone but the lord of the fire should punish with fire.
Shaykh Umar Farooq Saeedi
Benefits and Issues: ➊ It is not permissible to trouble Allah’s creation without reason; however, it is permissible to keep well-known animals for adornment, to tie them, and to keep them in cages.
➋ It is not permissible to kill ants or any other creature (whether human or animal) by burning them with fire.
Source: Sunan Abu Dawood – Commentary by Shaykh Umar Farooq Saeedi, Page: 5268