While there are many theories and speculations about who wrote it, no definitive author has ever been identified.
It is likely that the rhyme has been around for centuries, passed down orally through generations and evolving with each telling.