If you are talking morals, yes it's wrong to take something that does not
belong to you.Whether it's money found on the street, or someone elses
gas at the pump. Since it was unintentional it's not a serious breach of
ethics. What if you are given back more change then you were due, would
you correct the clerk & return the extra money?