The way to write this that would sound the most correct is "He wants him back where he came from". It doesn't sound great as a sentence, and so, a better alternative would be "He wants him to go/come back to where he came from". However, with the mention of he twice and him once, it doesn't make it that clear who you are referring to.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.