Is it illegal to sell an item to two different people?

and if so whats that called
2 answers 2