The best thing that you can do when someone steals your joke is to avoid him/her, and to concentrate on your art. There will always be people who will take credit of your word unless you are really successful.
After you get very successful, people will know for sure whenever someone uses a joke that you came up with. Until then, try not to get your mind diverted to those who steal others’ work. Instead, focus on improving yourself more so that you can become the best of all. Indeed, this is the only thing that will bring you success.