Amazon advice !

I heard 2 different things from 2 people so if a customer bought an item like pants but Amazon sent them a shirt but QR code is for the pants if the customer hit “wrong item” on the return process I heard we are allowed to take it is that true?

Someone else told me we are not allowed to take it at all.