Riyad as-Salihin, Book 18, Hadith 1610 (In-Book)

Ibn Mas'ud (May Allah be pleased with him) reported: We were with the Messenger of Allah in a journey when he drew apart (to relieve nature). In his absence, we saw a red bird which had two young ones with it. We caught them and the red mother bird came, beating the earth with its wings. In the meantime the Prophet returned and said, "Who has put this bird to distress on account of its young? Return them to her." He also noticed a mound of ants which we had burnt up. He asked, "Who has set fire to this?" We replied: "We have done so." He said, "None can chastise with fire except the Rubb of the fire."[Abu Dawud].

وعن ابن مسعود رضي الله عنه قال‏:‏ كنا مع رسول الله صلى الله عليه وسلم في سفر، فانطلق لحاجته، فرأينا حمرة معها فرخان، فأخذنا فرخيها، فجاءت الحمرة فجعلت تعرش فجاء النبي صلى الله عليه وسلم فقال‏:‏ ‏"‏من فجع هذه بولدها‏؟‏ ردوا ولدها إليها‏"‏ ورأى قرية نمل قد حرقناها، فقال‏:‏ ‏"‏من حرق هذه‏؟‏‏"‏ قلنا‏:‏ نحن‏.‏ قال‏:‏ ‏"‏إنه لا ينبغي أن يعذِّب بالنار إلا رب النار‏"‏‏.‏ قوله‏:‏ ‏ ‏قرية نمل‏ ‏ معناه‏:‏ موضع النمل مع النمل.‏

sunnah.com