Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) narrates: The Prophet (peace and blessings be upon him) camped at a place and went to relieve himself. When he returned, a man had set fire to an ant colony, which was either in the ground or in a tree. The Prophet (peace and blessings be upon him) asked: "Which of you has done this?" The man said: "I did, O Messenger of Allah." The Prophet (peace and blessings be upon him) said: "Put it out, put it out."
Ahmad recorded it; its chain contains Abd al-Rahman bin Abdullah al-Mas'udi, who suffered from confusion (ikhtilat) in his memory.