Sometimes I buy a meal thinking it doesn't contain ham, but it turns out it does (e.g. fried rice). In these cases, I've switched meals with a non-Muslim friend who doesn't mind eating pork.
Question: If I unwittingly buy a meal with ham in it, it is acceptable to give it to a non-Muslim friend?
It seems wasteful to just throw it away and buy another dish and it would be rude to just throw a meal away that I just asked for and someone just cooked.
On Reddit, people seemed to think it was haram to do so, but it was uncertain.