Deuteronomy 22 2
If its owner doesn't live near you, or if you don't know who it is, take the animal home with you and keep it until the owner comes looking, then you can return it.
Compare with other 3 random translations
KJV Deuteronomy 22:2And if thy brother be not nigh unto thee, or if thou know him not, then thou shalt bring it unto thine own house, and it shall be with thee until thy brother seek after it, and thou shalt restore it to him again.
EAS Deuteronomy 22:2Perhaps the man does not live near you. Perhaps you do not know who the animal belongs to. If so, take the animal to your own home and keep it safe there. When the man comes to look for his animal, give it to him.
AMP Deuteronomy 22:2If your countryman is not nearby or you do not know him, you shall bring the animal to your house, and it shall stay with you until he searches for it; then you shall return it to him.