Its owner might not live near you. Or you might not know who owns it. So take the animal home with you. Keep it until the owner comes looking for it. Then give it back to them.
None of you should sin against your brother or sister by doing that. You should not take advantage of your brother or sister. The Lord will punish everyone who commits these kinds of sins. We have already told you and warned you about this.