Handel was notorious for it.
I suspect in the days before recordings, reusing ideas was pretty commonplace. We often forget that back in the day, people only heard things if they were played live, which means that large scale works, in particular, would only be heard once or twice in a lifetime, even by the musical litterati.