A vending machine gave me an extra can. May I keep it, and what if I already drank it?
The extra can does not belong to the buyer: taking it violates the commandments of returning lost property and the prohibition against stealing. Contact the machine’s owner to arrange its return or payment; if the owner cannot be identified and the machine is in a mainly Jewish location, attach a note describing what happened and providing contact details. If the drink was already consumed, its value must be paid, and if the owner cannot be reached, the details and amount owed should be recorded. If every attempt to reach the owner fails, the equivalent value should be given for communal needs to atone for the violation.
A practical halachic question: the final ruling is for your rabbi.
Quote from the source«they may take only one can, as the other can does not belong to them.»
- Author
- Horav Yosef Yeshaya Braun
- Source
- Beis Moshiach - English — 1167, p. 12