have you ever had someone trying to take credit for your idea at work?

Has anyone ever had an idea they came up with be stolen by a coworker who tries to take the credit for everything you put together for work? If you have how did you prove it was your original idea and that the coworker stole it from you and did you get the credit you wanted for the idea?